/* Getting started (start.html), v0.186.0.
   Everything here sits on top of welcome.css and uses its tokens; the
   page should read as a sibling of the welcome page, not a new design. */

/* ---------- hero: the cellar, without the stage ---------- */
.gs-hero {
  position: relative; color: var(--on-cellar); text-align: center;
  padding: 92px 24px 84px;
  background:
    radial-gradient(ellipse 70% 70% at 50% 0%, rgba(122, 31, 43, .55), transparent 70%),
    linear-gradient(var(--cellar), var(--cellar-2));
  border-bottom: 1px solid var(--cellar-line);
}
.gs-hero .wl-kick { color: var(--mark-dark); }
.gs-hero h1 {
  font-size: clamp(42px, 5.6vw, 72px); line-height: 1.05; letter-spacing: -.012em;
  color: var(--on-cellar); margin: 0 auto 24px; max-width: 13em;
}
.gs-hero .wl-lead { color: var(--on-cellar-soft); margin: 0 auto; max-width: 36em; }
.gs-hero .wl-fine { color: var(--on-cellar-faint); }
.gs-hero .wl-btn.is-ghost { color: var(--on-cellar); border-color: var(--cellar-line); }
.gs-hero .wl-btn.is-ghost:hover { border-color: var(--mark-dark); color: var(--on-cellar); }

/* ---------- the three tabs ---------- */
.gs-map { margin-top: 0; }
.gs-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; margin-bottom: 14px; border-radius: 3px;
  border: 1px solid color-mix(in srgb, var(--accent-ink) 45%, transparent);
  background: var(--accent-tint); color: var(--accent-ink);
}
.gs-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.gs-note { max-width: 46em; margin: 26px auto 0; text-align: center; font-size: 17px; color: var(--ink-soft); }

/* ---------- the walkthrough ---------- */
.gs-step {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 56px; align-items: center;
  padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: 60px;
}
.gs-step:last-child { border-bottom: 1px solid var(--line); }
.gs-step.is-flip { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
.gs-step.is-flip .gs-step-text { order: 2; }
.gs-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; margin-bottom: 14px; border-radius: 50%;
  border: 1px solid var(--accent-ink); color: var(--accent-ink);
  font-family: 'Jost', system-ui, sans-serif; font-size: 14px; font-weight: 600;
}
.gs-step h3 { font-size: clamp(28px, 2.8vw, 36px); margin-bottom: 12px; }
.gs-step-text > p { font-size: 18px; color: var(--ink-soft); margin-bottom: 10px; }
.gs-step .wl-list { margin: 14px 0 14px; }
.gs-step .wl-list li, #library .wl-list li, #phone .wl-list li, #settings .wl-list li { font-size: 17px; line-height: 1.45; }
.wl-list b { font-weight: 600; color: var(--ink); }
.gs-fig { margin: 0; }
.gs-fig img { display: block; width: 100%; height: auto; }
.gs-fig.is-narrow { max-width: 520px; justify-self: center; width: 100%; }

/* ---------- Inventory: the table, and the count laid over it ---------- */
.gs-inv { position: relative; padding: 0 0 70px; }
.gs-inv > .gs-fig { width: 82%; }
.gs-count {
  position: absolute; right: 0; bottom: 0; width: 36%; margin: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.gs-count img { display: block; width: 100%; height: auto; }
.gs-count figcaption {
  font-family: 'Jost', system-ui, sans-serif; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: #7b736a; background: #fbfaf7; border-top: 1px solid #ece6db; padding: 8px 14px;
}
#inventory .wl-grid { margin-top: 48px; }

/* ---------- every feature ---------- */
.gs-index { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gs-index > div { padding: 22px 22px 18px; border: 1px solid var(--cellar-line); border-radius: 3px; background: rgba(255, 255, 255, .035); }
.gs-index h3 {
  font-family: 'Jost', system-ui, sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--mark-dark); margin-bottom: 10px;
}
.gs-index ul { list-style: none; margin: 0; padding: 0; }
.gs-index li { padding: 8px 0; border-top: 1px solid rgba(226, 96, 108, .14); font-size: 16.5px; line-height: 1.4; color: var(--on-cellar-soft); }
.gs-index li:first-child { border-top: 0; }

.gs-keys { margin-top: 44px; padding: 26px 28px; border: 1px solid var(--cellar-line); border-radius: 3px; }
.gs-keys h3 { font-size: 26px; color: var(--on-cellar); margin-bottom: 4px; }
.gs-keys-note { font-size: 16px; color: var(--on-cellar-faint); margin-bottom: 14px; }
.gs-keys dl { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 40px; margin: 0; }
.gs-keys dl > div { display: flex; align-items: center; gap: 16px; padding: 9px 0; border-top: 1px solid rgba(226, 96, 108, .14); }
.gs-keys dt { flex: 0 0 168px; white-space: nowrap; }
.gs-keys dd { margin: 0; font-size: 16.5px; color: var(--on-cellar-soft); }
.gs-keys kbd {
  display: inline-block; min-width: 26px; padding: 2px 7px; text-align: center;
  font-family: 'Jost', system-ui, sans-serif; font-size: 12px; font-weight: 500; color: var(--on-cellar);
  border: 1px solid var(--cellar-line); border-bottom-width: 2px; border-radius: 3px; background: rgba(255, 255, 255, .05);
}

.gs-close { margin-top: 112px; }

@media (prefers-color-scheme: dark) {
  .gs-count { border-color: rgba(0, 0, 0, .3); }
}

/* ---------- smaller screens ---------- */
@media (max-width: 1060px) {
  .gs-index { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .gs-hero { padding: 60px 20px 56px; }
  .gs-step, .gs-step.is-flip { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
  .gs-step.is-flip .gs-step-text { order: 0; }
  .gs-inv { padding-bottom: 0; }
  .gs-inv > .gs-fig { width: 100%; }
  .gs-count { position: relative; width: 70%; margin: -24px 0 0 auto; }
  .gs-keys dl { grid-template-columns: 1fr; }
  .gs-close { margin: 80px 20px 0; }
}
@media (max-width: 560px) {
  .gs-hero h1 { font-size: clamp(36px, 10vw, 44px); }
  .gs-index { grid-template-columns: 1fr; }
  .gs-keys { padding: 20px 18px; }
  .gs-keys dt { flex-basis: 140px; }
  .gs-count { width: 86%; }
}
