@font-face {
  font-family: "Instrument Serif";
  src: url("type/instrument-serif-400-normal.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("type/instrument-serif-400-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("type/dm-sans-400-normal.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("type/dm-sans-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
:root {
  --paper: #faf9f3;
  --ink: #172f3a;
  --secondary: #425562;
  --rule: #aab6b3;
  --accent: #a33a29;
  --tint: #e9efeb;
  --serif: "Instrument Serif", Georgia, serif;
  --caption: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --gutter: clamp(1.25rem, 5vw, 5rem);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 1rem/1.55 "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: .2em; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid #2676b0; outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, ol, dl, dd { margin: 0; }
.wrap { width: min(80rem, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip {
  position: absolute;
  z-index: 1;
  left: 1rem;
  top: -6rem;
  padding: .6rem 1rem;
  background: var(--paper);
  color: var(--ink);
}
.skip:focus { top: 1rem; }
.masthead, footer, nav, .brand, .stores, .store, .kicker { display: flex; align-items: center; }
.masthead {
  justify-content: space-between;
  min-height: 5.8rem;
  gap: 1rem;
  border-bottom: 3px double var(--ink);
}
.brand {
  gap: .55rem;
  font: 400 2.4rem/1 var(--serif);
  letter-spacing: -.035em;
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.helm-mark {
  width: 2.45rem;
  height: 2.45rem;
  background-color: currentColor;
  mask: url("helm-mark.svg") center / contain no-repeat;
  -webkit-mask: url("helm-mark.svg") center / contain no-repeat;
}
nav { gap: clamp(1rem, 2.9vw, 2.8rem); }
nav a { white-space: nowrap; font-size: .94rem; text-decoration: none; }
.masthead nav a { padding-block: .6rem; }
.masthead .nav-download {
  padding: .45rem .95rem;
  font-weight: 600;
  border: 1px solid currentColor;
}
.kicker {
  gap: .7rem;
  font: 600 .8rem/1.4 "DM Sans", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--accent);
}
.pennant {
  display: inline-block;
  width: 1.8rem;
  height: .85rem;
  background: currentColor;
  clip-path: polygon(0 0, 100% 0, 70% 50%, 100% 100%, 0 100%);
}
h1, h2 { font: 400 clamp(3rem, 5vw, 5.2rem)/.98 var(--serif); letter-spacing: -.035em; }
h3 { font-size: 1.2rem; line-height: 1.3; }
.cover {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  padding-block: clamp(3rem, 5.6vw, 6rem);
}
.cover h1 { font-size: clamp(4.4rem, 7.9vw, 7.65rem); line-height: .93; margin: 1.6rem 0 1.5rem; }
.cover h1 em { white-space: nowrap; }
.lead { max-width: 38ch; font-size: clamp(1.075rem, 1.4vw, 1.22rem); line-height: 1.55; color: var(--secondary); }
.stores { gap: .65rem; flex-wrap: wrap; margin-top: 2rem; }
.store {
  gap: .55rem;
  padding: .72rem 1.1rem;
  border: 1px solid var(--ink);
  border-radius: 3px;
  font-weight: 600;
  font-size: .98rem;
  text-decoration: none;
  line-height: 1.35;
}
.store:first-child, .store:hover { background: var(--ink); color: var(--paper); text-decoration: none; }
.store:first-child:hover { background: var(--secondary); }
.store svg { width: 1.1rem; height: 1.1rem; flex: none; }
.store-note { margin-top: .8rem; font-size: .86rem; color: var(--secondary); }
.photo-mat { border: 1px solid var(--rule); padding: .4rem; }
.photo-mat img { width: 100%; height: auto; }
.archive-print figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  column-gap: 1rem;
  row-gap: .15rem;
  padding: .52rem .1rem 0;
  font-size: .84rem;
  color: var(--secondary);
}
.archive-print figcaption span { font: 400 1.15rem/1.3 var(--serif); color: var(--ink); }
.archive-print a { text-decoration-color: var(--rule); }
.section-grid { display: grid; grid-template-columns: .83fr 1.17fr; gap: clamp(2rem, 7vw, 7rem); }
.setup, .onboard, .questions { padding-block: clamp(3.5rem, 6.5vw, 6.5rem); }
.setup { border-block: 1px solid var(--rule); background: var(--tint); }
.section-intro .kicker { margin-bottom: 1.15rem; }
.section-intro > p:last-child:not(.kicker) { margin-top: 1.4rem; max-width: 34ch; color: var(--secondary); }
.steps { padding: 0; list-style: none; counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.8rem 1fr;
  gap: 1rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--rule);
}
.steps li::before { content: counter(step, decimal-leading-zero); font: italic 1.7rem/1 var(--serif); color: var(--accent); }
.steps li:first-child { border-top-color: var(--ink); }
.steps p { margin-top: .35rem; max-width: 52ch; color: var(--secondary); }
.screen-pair { display: flex; align-items: flex-start; justify-content: center; gap: clamp(1rem, 3vw, 3rem); }
.screen-pair figure { flex: 0 1 12.5rem; min-width: 0; }
.screen-pair img { width: 100%; height: auto; border-radius: 1rem; }
.screen-pair figcaption { text-align: center; font-size: .9rem; margin-top: .6rem; color: var(--secondary); }
.questions { border-top: 1px solid var(--rule); }
.answers details { border-bottom: 1px solid var(--rule); }
.answers details:first-child { border-top: 1px solid var(--ink); }
.answers summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.08rem;
}
summary::-webkit-details-marker { display: none; }
.answers summary::after { content: "+"; color: var(--accent); font-family: var(--caption); }
.answers details[open] summary::after { content: "−"; }
.answers details p { color: var(--secondary); max-width: 52ch; padding: 0 1.5rem 1.3rem 0; }
.wifi-help { display: inline; }
.wifi-help::details-content { display: inline; }
.wifi-help summary {
  display: inline;
  padding: 0;
  font: inherit;
  color: inherit;
  list-style: none;
  cursor: help;
}
.wifi-help summary span {
  text-decoration: underline dotted;
  text-underline-offset: .18em;
}
#wifi-tooltip {
  display: none;
  position: fixed;
  inset: auto;
  bottom: 12px;
  left: 12px;
  z-index: 10;
  width: min(20rem, calc(100vw - 24px));
  margin: 0;
  padding: .8rem 1rem;
  border: 0;
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 5px 18px rgb(23 47 58 / 24%);
  font-size: .94rem;
  line-height: 1.45;
  overflow: visible;
}
body:has(.wifi-help[open]) #wifi-tooltip:not([popover]) { display: block; }
#wifi-tooltip:popover-open { display: block; }
#wifi-tooltip[data-side] { bottom: auto; }
/* Keep the gap between the phrase and the bubble hoverable. */
#wifi-tooltip[data-side]::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: 9px;
}
#wifi-tooltip[data-side="above"]::before { top: 100%; }
#wifi-tooltip[data-side="below"]::before { bottom: 100%; }
#wifi-tooltip[data-side]::after {
  content: "";
  position: absolute;
  left: var(--arrow-x);
  width: 10px;
  height: 10px;
  transform: translateX(-50%) rotate(45deg);
  background: inherit;
}
#wifi-tooltip[data-side="above"]::after { bottom: -5px; }
#wifi-tooltip[data-side="below"]::after { top: -5px; }
.updates { color: #fbfaf5; background: #193742; }
.signup-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2.5rem;
  padding-block: 3.7rem;
}
.updates h2 { font-size: clamp(2.4rem, 4vw, 3.4rem); margin-bottom: .65rem; }
.updates label { display: block; margin-bottom: .45rem; font-size: .87rem; }
.signup-fields { display: flex; gap: .5rem; }
.signup-fields > div { flex: 1; }
input, button { font: inherit; }
.signup-fields input, .signup-fields button {
  border: 1px solid currentColor;
  border-radius: 2px;
  padding: .72rem 1rem;
  line-height: 1.4;
}
.signup-fields input { width: 100%; min-width: 0; color: #fbfaf5; background: transparent; border-color: #b4c3c6; }
.signup-fields input::placeholder { color: #c3cfd0; opacity: 1; }
.signup-fields button { cursor: pointer; color: #142d37; background: #faf9f3; border-color: #faf9f3; font-weight: 600; }
.signup-fields button:hover { background: #e3e9e7; }
footer { justify-content: space-between; flex-wrap: wrap; gap: .7rem 2rem; padding-block: 1.8rem; font-size: .85rem; }
footer p a { text-decoration: none; }
footer nav { gap: 1.3rem; }
footer nav a { font-size: .85rem; }
[id] { scroll-margin-top: 1rem; }

.policy main { width: min(45rem, calc(100% - 2 * var(--gutter))); margin: 3.5rem auto 5rem; }
.policy h1 { margin-bottom: .7rem; }
.policy .last-updated { color: var(--secondary); }
.policy main h2 { margin: 2.2rem 0 .65rem; font-size: 2.25rem; line-height: 1.12; }
.policy main p + p { margin-top: .8rem; }
.policy main ul { padding-left: 1.4rem; }
.policy main li + li { margin-top: .5rem; }
.policy .highlight-box { padding: 1.25rem; background: var(--tint); border-left: 3px solid var(--accent); margin: 2rem 0; }
.policy footer { border-top: 1px solid var(--rule); }

@media (max-width: 55rem) {
  .cover { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .cover h1 { font-size: clamp(4rem, 8.3vw, 5.1rem); }
}
@media (max-width: 43rem) {
  .masthead { min-height: 4.6rem; }
  .brand { font-size: 1.9rem; gap: .3rem; }
  .helm-mark { width: 2rem; height: 2rem; }
  .masthead nav { gap: .8rem; }
  .masthead nav a { font-size: .86rem; }
  .masthead .nav-download { padding: .4rem .65rem; }
  .cover, .section-grid, .signup-layout { grid-template-columns: 1fr; }
  .cover { padding-block: 2.4rem 2rem; gap: 1.9rem; }
  .cover h1 { font-size: clamp(4.3rem, 13.5vw, 6rem); margin: 1.1rem 0; }
  .stores { margin-top: 1.35rem; }
  .section-grid, .signup-layout { gap: 1.7rem; }
  .section-intro h2 br { display: none; }

  .steps li { grid-template-columns: 2.1rem 1fr; gap: .5rem; }
  .screen-pair { justify-content: flex-start; }
  .setup, .onboard, .questions, .signup-layout { padding-block: 2.7rem; }
}
@media (max-width: 24rem) {
  .masthead nav { gap: .65rem; }
  .masthead .nav-download { border: 0; padding-inline: 0; }
  .brand { font-size: 1.7rem; }
  .helm-mark { width: 1.65rem; height: 1.65rem; }
  .signup-fields { flex-wrap: wrap; }
  .signup-fields > div { flex-basis: 10rem; }
}
.signup-error, .ml-server-error.d-none { display: none; }
.ml-error .signup-error, .ml-server-error:not(.d-none) { display: block; margin-top: .5rem; }

@media (max-width: 28rem) {
  .masthead .nav-download { display: none; }
}
