:root {
  color-scheme: light;
  --paper: #f4f8f6;
  --white: #fff;
  --ink: #112a30;
  --muted: #465e62;
  --deep: #102f39;
  --tide: #d6ece7;
  --link: #14584f;
  --line: #c5d9d6;
  --signal: #ffcf83;
  font: 100%/1.6 system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: var(--link); text-underline-offset: .23em; }
a:hover { text-decoration-thickness: .16em; }
:focus-visible { outline: 3px solid #ad4e11; outline-offset: 4px; }
.frame { width: min(69rem, calc(100% - 2.5rem)); margin-inline: auto; }
.masthead { background: var(--white); border-bottom: 1px solid var(--line); }
.masthead-inner, .actions, nav, .brand { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; }
.masthead-inner { justify-content: space-between; gap: 0 2rem; min-height: 4.5rem; }
nav a, .brand { padding-block: .65rem; }
.brand { color: inherit; text-decoration: none; font-weight: 750; font-size: 1.2rem; gap: .65rem; }
.beacon { width: 1.15rem; height: 1.15rem; border: .3rem solid currentColor; border-radius: 50%; border-right-color: transparent; }
nav { gap: .25rem 1.15rem; }
nav a { color: inherit; font-size: .94rem; }
nav [aria-current="page"] { font-weight: 700; }
.skip { position: absolute; inset-inline-start: 1rem; top: -6rem; padding: .5rem 1rem; background: var(--white); z-index: 2; }
.skip:focus { top: .75rem; }
.hero { background: var(--deep); color: var(--white); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 3fr) minmax(12rem, 2fr); align-items: center; gap: 2rem; padding-block: clamp(3rem, 8vw, 6rem); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .7em; }
h1, h2 { font-family: Georgia, serif; font-weight: 500; }
h1 { font-size: clamp(2.5rem, 6.1vw, 5.3rem); letter-spacing: -.055em; text-wrap: balance; margin-bottom: .27em; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.3rem); letter-spacing: -.035em; }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
.site-label { color: var(--signal); font-weight: 700; }
.lede { max-width: 56ch; font-size: clamp(1.07rem, 2vw, 1.26rem); }
.hero .lede { color: var(--tide); }
.signal {
  aspect-ratio: 1;
  width: min(100%, 22rem);
  justify-self: end;
  position: relative;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, #52777d 0 1px, transparent 1px 13.5%);
  border: 1px solid #52777d;
  box-shadow: inset 0 0 0 1.5rem #24505a;
  overflow: hidden;
}
.signal::before { content: ""; position: absolute; inset: 0; background: conic-gradient(from 5deg, transparent, #5ca69e66 68deg, transparent 68deg); }
.signal span { position: absolute; top: 24%; left: 68%; width: .8rem; height: .8rem; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 .4rem #ffcf8333; }
.button { display: inline-flex; align-items: center; min-height: 2.85rem; padding: .55rem 1rem; border-radius: .35rem; background: var(--link); color: var(--white); font-weight: 650; text-decoration: none; }
.button:hover { text-decoration: underline; }
.button-light { background: var(--signal); color: var(--ink); }
.home-content { display: grid; grid-template-columns: 1.54fr 1fr; gap: clamp(1.25rem, 5vw, 4rem); padding-block: clamp(2rem, 6vw, 4.5rem); }
.dispatch { background: var(--tide); border-left: 4px solid var(--link); padding: clamp(1rem, 4vw, 2rem); }
.dive-label { font-weight: 720; }
.dive-label span, .meta { color: var(--muted); font-size: .9rem; font-weight: 400; }
.dive-label span { padding-inline-start: .55rem; }
.guide-link { padding-block: 1rem; }
.reading { max-width: 48rem; padding-block: 1.5rem 4rem; }
.reading h1 { font-size: clamp(2.3rem, 5.7vw, 4.2rem); }
.reading h2 { margin-top: 1.3em; }
.breadcrumbs { margin-bottom: 1.1rem; font-size: .9rem; color: var(--muted); gap: .35rem; }
.breadcrumbs > * + *::before { content: "/"; margin-inline: .3rem .55rem; color: var(--muted); }
.notice { border-left: 3px solid var(--link); background: var(--tide); padding: .65rem .9rem; margin-block: .8rem; }
.prompt-list { display: grid; gap: .75rem; }
.prompt { background: var(--white); padding: 1rem; border: 1px solid var(--line); }
.hint, .answer { background: var(--white); border: 1px solid var(--line); border-radius: .35rem; }
.answer { margin-top: .65rem; }
summary { cursor: pointer; min-height: 2.85rem; padding: .55rem .85rem; font-weight: 650; color: var(--link); }
summary span { float: right; font-weight: 450; font-size: .9rem; }
.hint:not([open]) > summary .hint-open, .hint[open] > summary .hint-closed { display: none; }
.hint-body, .answer > p, .hint-level > p { padding-inline: .85rem; }
.hint-body, .hint-level { padding-bottom: .45rem; }
.hint-level { border-left: 2px solid var(--line); }
.hint-level .hint-level { margin-left: .85rem; }
.history { list-style: none; padding: 0; }
.history a { display: flex; gap: .5rem; justify-content: space-between; padding: .65rem 0; border-bottom: 1px solid var(--line); }
.footer { background: var(--deep); color: var(--white); padding-block: 1.6rem 2.1rem; }
.footer p { color: var(--tide); }
@media (max-width: 42rem) {
  .masthead-inner { padding-block: .35rem; }
  .hero-inner, .home-content { grid-template-columns: 1fr; }
  .hero-inner { position: relative; }
  .hero-inner > div:first-child { z-index: 1; }
  .signal { position: absolute; width: 10rem; inset: .8rem -.95rem auto auto; opacity: .32; }
  .guide-link { padding-block: .5rem; }
}
