/* BookNStyle pro guides (booknstyle.com/guides/). Built on styles.css: the
   same tokens, type, buttons, cards and footer as the home page. Only the
   guide's own pieces live here: the hero, the contents chips, the tip
   sections and the checklist. */

/* Hero */
.gd-hero { position: relative; overflow: clip; padding: calc(76px + clamp(3rem, 2rem + 5vw, 7rem)) 0 clamp(3rem, 2rem + 4vw, 5.5rem); background: var(--ink-0); text-align: center; }
.gd-hero .container { position: relative; display: flex; flex-direction: column; align-items: center; }
.gd-hero .display { margin-top: 22px; max-width: 12em; }
.gd-hero .lead { margin-top: 24px; margin-inline: auto; }
.gd-meta { margin-top: 22px; color: var(--text-3); font-size: var(--fs-small); letter-spacing: .02em; }

/* Contents: chips that wrap, never a sideways scroll */
.gd-toc { margin-top: 38px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 760px; }
.gd-toc a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--text-2); text-decoration: none; font-size: .85rem; font-weight: 500;
  transition: border-color .3s, color .3s, background-color .3s;
}
.gd-toc a:hover { border-color: var(--champ-l); color: var(--cream); background: rgba(200, 149, 106, .06); }
@media (pointer: coarse) { .gd-toc a { min-height: 44px; } }

/* Tip sections: the heading on the left, the tips on the right (one column on phones) */
.gd-sec { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }
.gd-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 960px) {
  .gd-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
  .gd-head { position: sticky; top: 110px; }
}
.gd-head .title { margin-top: 18px; font-size: clamp(2rem, 1.45rem + 2.3vw, 3.4rem); }
.gd-head .lead { margin-top: 18px; }
@media (max-width: 359px) { .gd-head .title { font-size: min(2rem, 12vw); } }

.gd-tips { border-top: 1px solid var(--line-soft); }
.gd-tips li { position: relative; padding: 20px 0 20px 34px; border-bottom: 1px solid var(--line-soft); color: var(--text-2); font-size: 1rem; text-wrap: pretty; }
.gd-tips li::before {
  content: ""; position: absolute; left: 2px; top: 28px; width: 12px; height: 12px; background: var(--champ);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
}
.gd-tips strong { color: var(--cream); font-weight: 600; }
.gd-where { margin-top: 26px; font-size: var(--fs-small); color: var(--text-2); border-left: 1px solid var(--champ); padding-left: 14px; max-width: 36em; }
.gd-where span { display: block; font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--champ-l); margin-bottom: 4px; }

/* At a shop: two cards */
.gd-sec .cards { margin-top: 8px; }

/* Checklist (paper band) */
.gd-check { max-width: 820px; margin-inline: auto; }
.gd-check .section-head { margin-bottom: 36px; }
.gd-progress { margin-top: 8px; font-size: var(--fs-small); font-weight: 600; letter-spacing: .04em; color: #8A5F3C; }
.gd-list { border-top: 1px solid var(--ink-line); }
.gd-list li { border-bottom: 1px solid var(--ink-line); }
.gd-item { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px 4px; cursor: pointer; color: var(--ink-text); font-size: 1.02rem; line-height: 1.5; }
.gd-item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gd-box { width: 26px; height: 26px; margin-top: -1px; border-radius: 50%; border: 1.5px solid rgba(138, 95, 60, .5); display: grid; place-items: center; transition: background-color .35s var(--ease-out), border-color .35s; }
.gd-box svg { width: 14px; height: 14px; fill: none; stroke: var(--paper); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.6); transition: opacity .3s, transform .45s var(--ease-out); }
.gd-item input:checked + .gd-box { background: #8A5F3C; border-color: #8A5F3C; }
.gd-item input:checked + .gd-box svg { opacity: 1; transform: none; }
.gd-item input:checked ~ .gd-text { color: var(--ink-text-2); }
.gd-item input:focus-visible + .gd-box { outline: 2px solid #8A5F3C; outline-offset: 3px; }

/* Closing card */
.gd-finale .finale__card .title { max-width: 13em; }
.gd-finale .gd-help { margin-top: 22px; color: var(--text-3); font-size: var(--fs-small); }
.gd-finale .gd-help a { color: var(--champ-l); overflow-wrap: anywhere; }
