/* Landing page: builds on style.css (colors, type, buttons, form fields) */
html:has(body.landing), body.landing { overflow: auto; height: auto; min-height: 100%; }

.land { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; padding: 64px 22px 56px;
  display: flex; flex-direction: column; gap: 18px; }
.land h1 { font-size: clamp(36px, 8vw, 54px); }
.land .lede { font-size: 18px; }

.steps { list-style: none; counter-reset: s; display: grid; gap: 10px; margin: 6px 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: baseline;
  color: #cfd5f3; line-height: 1.45; }
.steps li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font: 700 13px var(--sans); color: var(--sky); background: var(--gold); }
.steps b { color: var(--ink); }

.panel { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(18, 26, 58, .85), rgba(11, 17, 38, .85));
  border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); backdrop-filter: blur(3px); }

/* Reuse the modal's field styles outside the modal */
.panel select, .panel textarea, .panel input {
  width: 100%; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px;
  color: var(--ink); font: 15px/1.45 var(--sans); padding: 12px; }
.panel select { appearance: none; padding-right: 36px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.panel select option { background: #0e1530; color: var(--ink); }
.panel textarea { resize: none; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 14px; color: var(--gold); }
.panel select:focus, .panel textarea:focus, .panel input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }

.linkish { align-self: flex-start; background: none; border: none; color: var(--cyan); font: 13px var(--sans);
  cursor: pointer; padding: 0; margin-top: -2px; }
.linkish:hover { text-decoration: underline; }
.mbtn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }

.fine { font-size: 13px; line-height: 1.5; color: var(--muted); }
.fine b { color: #cfd5f3; }
