/* iPhone setup guides (/help/iphone/, /en/help/iphone/). Builds on the info-page styles. */
.guide{max-width:760px}
.guide h1{margin-top:12px}
.guide .lead{margin-top:16px;max-width:60ch}
.guide section{margin-top:48px}
.guide h2{font-size:28px;line-height:1.2;letter-spacing:-.03em;margin:0 0 20px}
.guide-req ul{margin:0;padding-left:20px;display:grid;gap:8px}
.guide-steps{list-style:none;margin:0;padding:0;counter-reset:step;display:grid;gap:12px}
.guide-step{counter-increment:step;display:grid;grid-template-columns:40px 1fr;column-gap:16px;padding:20px 24px;border:1px solid var(--line);border-radius:12px;background:#fff}
.guide-step::before{content:counter(step);grid-row:span 3;width:32px;height:32px;border-radius:8px;background:#f3f4f6;color:var(--ink);font:500 15px/32px "JetBrains Mono",ui-monospace,monospace;text-align:center}
.guide-step h3{font-size:20px;line-height:1.3;letter-spacing:-.02em;margin:4px 0 8px;font-weight:500}
.guide-step p{margin:0 0 8px;font-size:15px;line-height:1.6}
.guide-step p:last-child{margin-bottom:0}
.guide-step .note{color:#696974;font-size:14px}
.guide-step a,.guide-trouble a,.guide section>p a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.guide-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px;margin-top:24px}
.guide-trouble details{border-top:1px solid var(--line);padding:16px 0}
.guide-trouble details:last-of-type{border-bottom:1px solid var(--line)}
.guide-trouble summary{cursor:pointer;font-size:16px;font-weight:500;list-style-position:inside}
.guide-trouble summary:focus-visible{outline:2px solid var(--red);outline-offset:4px;border-radius:4px}
.guide-trouble details p{margin:8px 0 0;font-size:15px;line-height:1.6;color:#4b4b55}
.guide-safety{margin-top:20px;font-size:14px;color:#696974}
.guide-updated{margin-top:12px;font-size:13px;color:#696974}
.guide-foot{display:flex;flex-wrap:wrap;gap:8px 20px;padding-block:32px 48px;font-size:14px}
.guide-foot a{color:#4b4b55}
@media (max-width:600px){
  .guide h2{font-size:24px}
  .guide-step{grid-template-columns:32px 1fr;column-gap:12px;padding:16px}
  .guide-step::before{width:28px;height:28px;font-size:13px;line-height:28px}
  .guide-step h3{font-size:18px}
}
.info-footer .guide-foot{max-width:760px;margin-inline:auto}

/* Legal pages (/legal/terms/, /legal/privacy/ and EN). Same column as the guides. */
.legal-toc{margin-top:32px;padding:20px 24px;border:1px solid var(--line);border-radius:12px;background:#fff}
.legal-toc ol{margin:0;padding-left:20px;columns:2;column-gap:32px;font-size:14px;line-height:1.9}
.legal-toc a{color:var(--ink);text-decoration:none}
.legal-toc a:hover{text-decoration:underline;text-underline-offset:3px}
.legal-section{scroll-margin-top:96px}
.legal-section h2{font-size:24px}
.legal-section p,.legal-section li{font-size:15px;line-height:1.7;color:#2c2c34}
.legal-section p{margin:0 0 12px;max-width:68ch}
.legal-section ul{margin:0 0 12px;padding-left:20px;display:grid;gap:6px}
.legal-section a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.legal-operator{display:grid;grid-template-columns:minmax(0,220px) minmax(0,1fr);gap:8px 20px;margin:16px 0 0;padding:20px 24px;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:14px;line-height:1.6}
.legal-operator dt{color:#696974}
.legal-operator dd{margin:0;overflow-wrap:anywhere}
@media (max-width:600px){
  .legal-toc ol{columns:1}
  .legal-operator{grid-template-columns:1fr;gap:2px;padding:16px}
  .legal-operator dd{margin-bottom:8px}
}
