:root {
  color-scheme: light;
  --paper: #f7f6f2;
  --ink: #252c25;
  --quiet: #666b61;
  --green: #3b5944;
  --line: #d4d8cd;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  font-synthesis: none;
  background: var(--paper);
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; font-size: 16px; line-height: 1.7; background: radial-gradient(ellipse at 50% 43%, #e9ede280 0%, transparent 58%); }
a { color: inherit; text-underline-offset: 4px; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
.masthead { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 34px 48px 12px; font-size: 13px; color: var(--quiet); }
.masthead a { text-decoration: none; }
.masthead form { margin: 0; }
.lock { border: 0; background: none; color: var(--quiet); font-size: 13px; padding: 4px 0; }
.lock:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
main { flex: 1; width: min(100% - 48px, 560px); margin: auto; text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 40px 0; }
.splash { width: min(100% - 48px, 340px); }
.arrival { position: relative; width: 38px; height: 38px; margin-bottom: 28px; border: 1px solid #aab4a0; border-radius: 50%; }
.arrival::before, .arrival::after { content: ""; position: absolute; background: #aab4a0; }
.arrival::before { width: 52px; height: 1px; top: 18px; left: -8px; }
.arrival::after { height: 52px; width: 1px; left: 18px; top: -8px; }
.arrival span { width: 8px; height: 8px; position: absolute; left: 14px; top: 14px; border-radius: 50%; background: var(--green); z-index: 1; box-shadow: 0 0 0 4px var(--paper); }
h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 450; line-height: 1.12; letter-spacing: -.065em; margin: 0; }
.splash-title { font-size: clamp(74px, 11vw, 112px); line-height: .97; text-align: left; letter-spacing: -.075em; }
.splash-title em { font-style: normal; color: var(--green); }
.entry-form { width: 100%; text-align: left; margin-top: 45px; }
.entry-form label { display: block; color: var(--quiet); font-size: 13px; margin-bottom: 8px; }
.entry-control { display: flex; border: 1px solid #aeb6a5; background: #ffffff70; border-radius: 4px; padding: 5px; transition: border-color .15s, box-shadow .15s; }
.entry-control:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px #3b594414; }
input { width: 100%; min-width: 0; height: 44px; padding: 8px 12px; border: 0; outline: 0; background: transparent; color: var(--ink); border-radius: 0; font-size: 18px; }
.entry-control button { border: 0; background: var(--green); color: #fff; border-radius: 2px; padding: 8px 18px; font-size: 14px; white-space: nowrap; }
.entry-control button:hover { background: #293e30; }
.entry-control button span { margin-left: 10px; }
.error { margin: 10px 0 0; min-height: 24px; color: #8d3d32; font-size: 13px; }
.page-footer { text-align: center; padding: 12px 24px 30px; color: #767e6e; font-size: 12px; letter-spacing: .04em; }
.frame { pointer-events: none; position: fixed; inset: 20px; z-index: -1; }
.frame i { position: absolute; width: 12px; height: 12px; border-color: #c5ccbd; border-style: solid; }
.frame i:nth-child(1) { left: 0; top: 0; border-width: 1px 0 0 1px; }
.frame i:nth-child(2) { right: 0; top: 0; border-width: 1px 1px 0 0; }
.frame i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 1px 1px; }
.frame i:nth-child(4) { right: 0; bottom: 0; border-width: 0 1px 1px 0; }
.app-mark { margin-bottom: 30px; }
.welcome { margin: 14px 0 42px; color: var(--quiet); font-size: 16px; }
.download-button { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 26px 34px; background: var(--green); color: #fff; border: 1px solid var(--green); border-radius: 5px; text-decoration: none; font-size: clamp(19px, 3.2vw, 26px); box-shadow: 0 5px 0 #293f31; transition: background .15s, transform .15s, box-shadow .15s; }
.download-button:hover { background: #2e4736; transform: translateY(-2px); box-shadow: 0 7px 0 #293f31; }
.download-button:active { transform: translateY(3px); box-shadow: 0 2px 0 #293f31; }
.download-button span { font-size: 32px; line-height: 1; }
.requirements { color: var(--quiet); margin: 25px 0 4px; font-size: 14px; }
.version { color: #767e6e; font-size: 12px; margin: 0; }
.install-help { width: 100%; margin: 30px 0 0; }
summary { font-size: 14px; color: var(--quiet); cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; margin-left: 10px; }
details[open] summary::after { content: "−"; }
.instructions { text-align: left; margin-top: 20px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 14px; color: var(--quiet); }
.instructions p { margin: 14px 0; }
.instructions strong { font-weight: 550; color: var(--ink); }
.zip-link { display: inline-block; margin: 8px 0; }
@media (max-width: 600px) {
  .masthead { padding: 25px 26px 8px; font-size: 12px; }
  .frame { inset: 12px; }
  main { padding: 38px 0; }
  .splash-title { font-size: 88px; }
  .entry-form { margin-top: 34px; }
  .download-button { padding: 22px 23px; }
  .app-mark { margin-bottom: 24px; }
  .welcome { margin-bottom: 34px; font-size: 14px; }
  .requirements { max-width: 290px; }
  .page-footer { padding-bottom: 23px; font-size: 11px; }
}
@media (max-height: 720px) and (min-width: 600px) {
  main { padding: 25px 0; }
  .splash-title { font-size: 82px; }
  .entry-form { margin-top: 30px; }
  .arrival { margin-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
