@font-face {
  font-family: "Instrument Serif";
  src: url("instrument-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --paper: #140d14;
  --surface: #24151f;
  --raised: #301b28;
  --field: #1b1019;
  --ink: #fff2f4;
  --muted: #d3b7c4;
  --line: #553346;
  --edge: #91647a;
  --accent: #ff9eb9;
  --button: #ff779a;
  --button-ink: #2a0817;
  --focus: #ffd894;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
  --satin: url("burgundy-satin.webp");
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: radial-gradient(ellipse 80% 30rem at 85% 0, #351521 0%, transparent 80%) no-repeat, var(--paper);
  font: 1rem/1.6 var(--sans);
}
.wrap { width: min(calc(100% - clamp(32px, 7vw, 112px)), 1200px); margin-inline: auto; }
main { flex: 1; min-width: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.04; }
h1 { font-size: clamp(3.3rem, 7.5vw, 6.7rem); letter-spacing: -.035em; overflow-wrap: anywhere; }
h2 { font-size: clamp(2.15rem, 4vw, 3.35rem); letter-spacing: -.025em; }
h3 { font-size: 1.7rem; }
p { max-width: 66ch; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .23em; }
a:hover { color: var(--ink); }
::selection { color: var(--button-ink); background: #ffb5ca; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.visually-hidden, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip:focus { position: fixed; top: .6rem; left: .6rem; z-index: 5; padding: .6rem 1rem; background: var(--surface); }

header.site { background: #190e18; border-bottom: 1px solid var(--line); }
.bar, nav, .brand, .foot { display: flex; align-items: center; }
.bar { justify-content: space-between; min-height: 72px; gap: 1rem; }
.brand { gap: .6rem; font: 700 1.35rem/1 var(--sans); letter-spacing: -.065em; color: var(--ink); text-decoration: none; }
.brand b { color: var(--accent); font: italic 400 1.36em/.9 var(--serif); letter-spacing: -.045em; }
.mark {
  display: inline-block; position: relative; flex: none; width: 25px; height: 33px;
  border: 2px solid var(--accent); border-radius: 80% 10% 75% 23%;
  transform: rotate(25deg);
}
.mark::after {
  content: ""; position: absolute; inset: 6px 3px 3px 5px;
  border-radius: 80% 12% 75% 23%; background: linear-gradient(150deg, #ffd3dd, #fc568a 55%, #ac244d);
}
nav { gap: clamp(.8rem, 2.5vw, 2rem); }
nav a, .foot a { display: inline-flex; align-items: center; min-height: 44px; font-size: .92rem; font-weight: 600; }
.bar nav a, .foot a, .provider-nav a { color: var(--muted); text-decoration: none; }
.bar nav a:hover, .bar nav a[aria-current], .foot a:hover, .provider-nav a:hover { color: var(--ink); text-decoration: underline; }
body > footer { background: #1b1019; border-top: 1px solid var(--line); }
.foot { flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; padding-block: 1.4rem; }
.foot p { font-size: .88rem; color: var(--muted); }
.foot p a { min-height: auto; font-size: inherit; }
.foot nav, .provider-nav { flex-wrap: wrap; gap: .25rem 1.25rem; }
.provider-nav { padding-block: .4rem 1rem; border-top: 1px solid var(--line); }

.article { width: min(100%, 49rem); padding-block: clamp(2.8rem, 7vw, 6rem); }
.article h1 { font-size: clamp(3.1rem, 7vw, 5.5rem); }
.intro, .hero-copy p { margin-block: 1.05rem 1.8rem; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.24rem); }
.article section { margin-block: 1.8rem; padding-top: 1.55rem; border-top: 1px solid var(--line); }
.article h2 { margin-bottom: .8rem; font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.article section p, .guide p { color: var(--muted); }
.article p + p { margin-top: .8rem; }
.article ul, .article ol { padding-inline-start: 1.4rem; }
.article li::marker { color: var(--accent); }
.section { padding-block: clamp(2rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1.6rem; }
.guide { padding-block: .85rem; border-top: 1px solid var(--line); }
.guide h3 { margin-bottom: .45rem; }
.guide h3 a { display: inline-flex; align-items: center; min-height: 44px; }

.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding-block: clamp(3rem, 7vw, 6rem); }
.hero h1 { max-width: 11ch; }
.status {
  display: grid; align-content: end; min-height: 290px; padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line); border-radius: 1.1rem;
  background: linear-gradient(90deg, #200d1af2, #280e1e7a), var(--satin) center/cover, var(--surface);
}
.status p { color: var(--muted); margin-block: .7rem 1rem; }
.status a { font-weight: 650; }

button, input, textarea, select { font: inherit; }
input, textarea, select { accent-color: var(--button); }
input:not([type="checkbox"]):not([type="hidden"]), textarea, select {
  min-height: 46px; width: 100%; min-width: 0; border: 1px solid var(--edge);
  border-radius: .5rem; padding: .62rem .8rem; color: var(--ink); background: var(--field);
}
input::placeholder, textarea::placeholder { color: #bb9baa; }
.action, .pilot-form button, .inbox button {
  display: inline-flex; justify-content: center; align-items: center; gap: .65rem;
  min-height: 46px; padding: .65rem 1.15rem; border-radius: .55rem; border: 1px solid transparent;
  background: var(--button); color: var(--button-ink); font: 700 .94rem/1.35 var(--sans); text-decoration: none; cursor: pointer;
}
.action:hover, .pilot-form button:hover, .inbox button:hover { color: var(--button-ink); background: #ffa8c0; }
.action.secondary { background: var(--surface); color: var(--ink); border-color: var(--edge); }
.action.secondary:hover { background: var(--raised); border-color: var(--accent); }
.inbox { display: grid; gap: 1rem; max-width: 39rem; margin-top: 1.7rem; }
.inbox label { display: grid; gap: .35rem; color: var(--muted); font-weight: 600; }
.inbox button { justify-self: start; }

@media (max-width: 700px) {
  .bar { min-height: 63px; }
  .hero, .guides { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 1.3rem; }
  .status { min-height: 190px; }
  .guides { gap: .8rem; }
}
@media (max-width: 510px) {
  .bar { flex-wrap: wrap; gap: 0 .8rem; padding-top: .65rem; }
  .brand { min-height: 38px; }
  .bar nav { flex-basis: 100%; gap: 1.15rem; }
  .foot { gap: .25rem; }
}
