/* Skyblue Authenticator — reviewer access guide
   Palette pulled from the app's own brand tokens:
   primary blue #0061E0, deep navy #011739→#0B224A, teal accent #01D7A6 */

:root {
  --navy-deep: #011739;
  --navy-mid: #0B224A;
  --blue: #0061E0;
  --blue-soft: #D8E2FF;
  --teal: #01A87E;
  --teal-soft: #E4FBF3;
  --ink: #101826;
  --ink-soft: #55607A;
  --line: #E4E8F1;
  --paper: #FFFFFF;
  --canvas: #F5F7FC;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--canvas);
  font-family: var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

/* ── Masthead ─────────────────────────────────────────────────────────── */

.masthead {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
  padding: 56px 24px 88px;
}

.masthead__inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.masthead__mark {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}

.masthead__eyebrow {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #9FB6E8;
}

.masthead__title {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

/* ── Sheet / layout ───────────────────────────────────────────────────── */

.sheet {
  max-width: 880px;
  margin: -56px auto 0;
  padding: 0 24px 80px;
  position: relative;
}

.lede {
  background: var(--paper);
  border-radius: 18px;
  box-shadow: 0 20px 48px rgba(1,23,57,0.14);
  padding: 32px 36px;
  margin-bottom: 28px;
}

.lede p {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 36px 36px;
  margin-bottom: 24px;
}

.panel__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.panel h2 {
  margin: 0 0 12px;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.panel__intro {
  margin: 0 0 8px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 68ch;
}

/* ── Credentials block ────────────────────────────────────────────────── */

.panel--credentials {
  border-color: var(--blue);
  background: linear-gradient(180deg, #FBFCFF 0%, #FFFFFF 60%);
}

.credential-grid {
  margin: 20px 0 4px;
  display: grid;
  gap: 12px;
}

.credential-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.credential-row dt {
  font-size: 13px;
  font-weight: 650;
  color: var(--ink-soft);
}

.credential-row dd {
  margin: 0;
}

.credential-row code {
  font-family: var(--mono);
  font-size: 14.5px;
  color: var(--ink);
  background: none;
  word-break: break-all;
}

.panel__note {
  margin: 18px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  padding: 12px 14px;
  background: #FFF8E9;
  border: 1px solid #F2E2B6;
  border-radius: 10px;
}

.panel__note strong { color: #8A6A16; }

/* ── Steps ────────────────────────────────────────────────────────────── */

.steps {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
}

.step__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-deep);
  color: var(--teal);
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step__body h3 {
  margin: 4px 0 6px;
  font-size: 16.5px;
  font-weight: 700;
}

.step__body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 64ch;
}

.inline-code {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink);
  background: var(--teal-soft);
  border: 1px solid #BEEEDD;
  padding: 8px 12px;
  border-radius: 8px;
}

/* ── Gallery ──────────────────────────────────────────────────────────── */

.gallery {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.frame {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--canvas);
}

.frame img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--line);
}

.frame figcaption {
  padding: 12px 14px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.frame__num {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* First and last frame span full width so the sequence reads
   sign-in -> ... -> confirmation without an awkward lone tile */
.frame:first-child,
.frame:last-child {
  grid-column: 1 / -1;
}
.frame:first-child img,
.frame:last-child img {
  max-height: 420px;
  object-fit: contain;
  background: #fff;
}

/* ── Notes list ───────────────────────────────────────────────────────── */

.notes-list {
  margin: 20px 0 0;
  padding: 0 0 0 20px;
  display: grid;
  gap: 10px;
}

.notes-list li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.notes-list li::marker {
  color: var(--teal);
}

/* ── Footer ───────────────────────────────────────────────────────────── */

.footer {
  text-align: center;
  padding: 8px 24px 48px;
}

.footer p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ── Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 680px) {
  .masthead { padding: 44px 18px 72px; }
  .masthead__title { font-size: 26px; }
  .sheet { padding: 0 16px 64px; }
  .lede, .panel { padding: 26px 22px 30px; }
  .credential-row { grid-template-columns: 1fr; gap: 4px; }
  .gallery { grid-template-columns: 1fr; }
  .frame:first-child, .frame:last-child { grid-column: auto; }
  .step { grid-template-columns: 34px 1fr; }
}
