/* Qelvori on iPhone (iphone.html): what to do before opening the iPhone app. Colours come from styles.css. */

.ios { padding: 112px 0 64px; max-width: 760px; }
.ios h2 { font: 800 22px/1.2 var(--display); margin: 40px 0 14px; }
.ios-kicker { color: var(--signal); font: 700 13px var(--font); letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 10px; }
.ios-head h1 { font: 800 clamp(34px, 6vw, 52px)/1.05 var(--display); margin: 0 0 14px; letter-spacing: -0.01em; }
.ios-head p { color: var(--mist); margin: 0; }

.ios-before ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ios-before li { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); color: var(--mist); }
.ios-before b { color: var(--ice); }

.ios-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: step; }
.ios-steps li {
  counter-increment: step; position: relative;
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start;
  padding: 16px 16px 16px 52px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); color: var(--mist);
}
.ios-steps li::before {
  content: counter(step); position: absolute; left: 14px; top: 16px;
  width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%;
  background: var(--signal); color: var(--on-signal); font: 800 13px var(--font);
}
.ios-steps b { color: var(--ice); }
.ios-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-strong); color: var(--signal); }
.ios-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ios-icon img { width: 30px; height: 30px; border-radius: 8px; }

.ios-go { margin-top: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.ios-go .fine b { color: var(--mist); font-weight: 600; }

.ios-qr-row { display: flex; align-items: center; gap: 20px; }
.ios-qr-row svg { width: 140px; height: 140px; flex: none; border-radius: 12px; }
.ios-qr-row p { margin: 0; color: var(--mist); }

.ios-after dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.ios-after div { padding-top: 12px; border-top: 1px solid var(--line); }
.ios-after dt { font: 700 16px/1.25 var(--display); margin-bottom: 4px; }
.ios-after dd { margin: 0; color: var(--mist); font-size: 15px; line-height: 1.5; }
.ios-after b { color: var(--ice); font-weight: 600; }

/* A phone hasn't a computer's camera to scan with: the QR code is for computers. */
@media (max-width: 720px) {
  .ios { padding-top: 92px; }
  .ios-qr { display: none; }
  .ios-after dl { grid-template-columns: 1fr; }
  .ios-steps li { grid-template-columns: 36px 1fr; padding-left: 48px; }
  .ios-icon { width: 36px; height: 36px; }
  .ios-icon svg { width: 20px; height: 20px; }
}
