/* Guides: plain how-to pages (/guides and the pages it lists). One readable column, the answer first,
   then real steps, a real picture or clip, what it costs, and a download button. Uses site.css for the rest. */
.gd { padding: 52px 0 88px; }
.gd-wrap { max-width: 808px; }
.gd-crumb { font-size: .9rem; margin: 0 0 14px; }
.gd-crumb a { color: var(--ink-soft); text-decoration: none; }
.gd-crumb a:hover { color: var(--violet-strong); }
.gd h1 { font-size: clamp(2rem, 4.4vw, 2.9rem); margin-bottom: .6em; }
.gd h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); margin: 2.2em 0 .6em; }
.gd h3 { font-size: 1.12rem; margin: 1.4em 0 .3em; }

/* the short answer */
.gd-answer { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--violet-strong); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow); }
.gd-answer p { margin: 0; }
.gd-answer p + p { margin-top: .7em; }
.gd-answer .gd-tag { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--violet-strong); margin-bottom: .5em; }

/* download row */
.gd-cta { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; margin: 26px 0 6px; }
.gd-cta small { flex-basis: 100%; color: var(--ink-soft); font-size: .92rem; }
/* phones: one tap to the paste-and-listen page instead of a computer download (the same switch as the home page) */
.gd-cta .gd-phone-try, .gd-cta .gd-phone-small, .gd-cta-phone { display: none; }
@media (max-width: 760px) {
  .gd-cta .gd-phone-try { display: inline-flex; }
  .gd-cta .gd-phone-small { display: block; }
  .gd-cta-phone { display: flex; margin: 0 0 22px; }
  .gd-cta .btn:not(.gd-phone-try), .gd-cta small:not(.gd-phone-small), .gd-try { display: none; }
}
/* try it right now (the paste-and-listen page, no account) */
.gd-try { margin: 14px 0 0; padding: 12px 16px; background: var(--wash); border-radius: var(--radius); font-size: .97rem; }

/* steps */
.gd-steps { list-style: none; counter-reset: gd; padding: 0; margin: 0; }
.gd-steps > li { counter-increment: gd; position: relative; padding: 0 0 20px 58px; }
.gd-steps > li::before { content: counter(gd); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--wash); color: var(--violet-strong); font-weight: 700; display: grid; place-items: center; }
.gd-steps h3 { margin: 5px 0 .3em; }
.gd-steps p { margin: 0 0 .5em; }
.gd code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .86em; background: var(--wash); border-radius: 6px; padding: 2px 7px; overflow-wrap: anywhere; }

/* pictures and clips */
.gd-shot { margin: 26px 0; }
.gd-shot img, .gd-shot video { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--night); }
.gd-shot figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: 8px; }
@media (min-width: 1000px) { .gd-shot-wide { margin-left: -76px; margin-right: -76px; } } /* a full-screen picture gets more room */

.gd-list { padding-left: 1.2em; margin: 0 0 1em; }
.gd-list li { margin-bottom: .5em; }
.gd-note { font-size: .9rem; color: var(--ink-soft); }

/* tables: plans, comparison */
.gd-table-wrap { overflow-x: auto; margin: 0 0 1em; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.gd-table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.5; }
.gd-table th, .gd-table td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.gd-table thead th { background: var(--wash); font-weight: 600; }
.gd-table tbody th { font-weight: 600; }
.gd-table tbody tr:last-child th, .gd-table tbody tr:last-child td { border-bottom: 0; }
.gd-compare { min-width: 620px; }
.gd-compare tbody th { width: 22%; }
.gd-compare td { width: 39%; }

/* questions */
.gd-faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.gd-faq summary { font-weight: 600; cursor: pointer; }
.gd-faq details p { margin: .6em 0 0; }

/* more guides */
.gd-more { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 12px; padding: 0; margin: 0; list-style: none; }
.gd-more a { display: block; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; color: var(--ink); font-weight: 600; line-height: 1.4; }
.gd-more a:hover { border-color: var(--violet-soft); color: var(--ink); }
.gd-more small { display: block; color: var(--ink-soft); font-weight: 400; font-size: .9rem; margin-top: 4px; }

/* the last word */
.gd-end { margin-top: 48px; background: var(--night); border-radius: 20px; padding: 34px 28px; text-align: center; }
.gd-end h2 { margin: 0 0 .3em; color: #fff; }
.gd-end p { color: var(--lavender); margin: 0 0 20px; }

@media (max-width: 560px) {
  .gd { padding-top: 34px; }
  .gd-steps > li { padding-left: 50px; }
  .gd-steps > li::before { width: 36px; height: 36px; }
  .gd-answer { padding: 16px 18px; }
}
