/* Guide pages (/guides/): a reading column with steps, screenshots, a closing card and links to the other guides.
   Its own file, so pages already cached with site.css (a week) don't need it. Uses site.css's tokens. */
.guide { max-width: 760px; padding-top: 40px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 44px; }
.crumbs { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--secondary); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--secondary); text-decoration: none; }
.crumbs a:hover { color: var(--periwinkle); }
.guide header { display: flex; flex-direction: column; gap: 18px; }
.guide h1 { font-size: clamp(40px, 5vw, 60px); line-height: 1.06; }
.guide .lead { max-width: none; }
.guide .dated { font-size: 15px; color: var(--secondary); }
.guide section { display: flex; flex-direction: column; gap: 16px; }
.guide h2 { font-size: clamp(28px, 3.2vw, 36px); line-height: 1.15; }
.guide section p, .guide section li { font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.guide section ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 10px; }
.guide strong { color: var(--ink); font-weight: 600; }
.guide kbd { font: 600 0.9em var(--sans); padding: 1px 6px; border-radius: 6px; border: 1px solid var(--hairline); background: var(--card); }

.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 20px; }
.steps > li { counter-increment: step; position: relative; padding-left: 52px; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--periwinkle-fill); color: var(--periwinkle-text); font: 600 16px/34px var(--sans); text-align: center; }

.guide figure { margin: 12px 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.guide figure .pair { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; }
.guide figure .phone { width: 250px; max-width: 100%; box-shadow: 0 24px 50px rgba(27, 27, 31, 0.16); }
.guide figcaption { font-size: 15px; line-height: 1.5; color: var(--secondary); text-align: center; max-width: 540px; }

.aside { border-radius: 20px; background: var(--card); border: 1px solid var(--hairline-2); padding: 24px 28px; }
.aside h2 { font-size: 24px; }

.get { border-radius: 24px; background: var(--ink); color: var(--paper); padding: 40px clamp(24px, 5vw, 44px); display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.get h2 { font-size: clamp(28px, 3vw, 34px); line-height: 1.15; }
.guide .get p { font-size: 17px; line-height: 1.6; color: #D9D6CF; margin: 0; }

.cards { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.cards a { display: flex; flex-direction: column; gap: 6px; padding: 22px 26px; border-radius: 20px; background: var(--card); border: 1px solid var(--hairline-2); color: var(--ink); text-decoration: none; }
.cards a:hover { border-color: var(--periwinkle); }
.cards strong { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.cards span { font-size: 16px; line-height: 1.55; color: var(--secondary); }
.more { display: flex; flex-direction: column; gap: 16px; }
.more h2 { font-size: 24px; }

@media (max-width: 600px) {
  .guide { padding-top: 24px; padding-bottom: 72px; gap: 36px; }
  .steps > li { padding-left: 46px; }
  .guide figure .phone { width: 220px; }
  /* Two phones stay side by side, smaller, instead of stacking into a screen and a half. */
  .guide figure .pair { flex-wrap: nowrap; gap: 14px; }
  .guide figure .pair .phone { width: auto; flex: 1 1 0; min-width: 0; max-width: 200px; padding: 6px; border-radius: 30px; }
  .guide figure .pair .phone img { border-radius: 25px; }
}
