/* ── Search guide pages (includes/landing.php), Oct 2026 ─────────────────
   Written to be read: one comfortable column of text, a sticky start-free
   card beside it on desktop. Light app theme from style.css, Outfit headings.
   Shape: cards 20px · buttons pill · FAQ is a ruled list, not boxes.     */

.guide {
  --g-ink: var(--ink, #1B2531);
  --g-soft: var(--ink-soft, #4A5668);
  --g-line: rgba(27, 37, 49, .1);
  --g-accent: var(--sage-700, #3F6E9E);
  max-width: 1120px; margin: 0 auto; padding: 40px 5vw 88px; color: var(--g-ink);
}
.g-crumbs { display: flex; gap: 8px; align-items: center; font-size: .9rem; color: var(--g-soft); margin-bottom: 22px; }
.g-crumbs a { color: var(--g-soft); text-decoration: underline; text-decoration-color: rgba(27, 37, 49, .25); text-underline-offset: 3px; }
.g-crumbs a:hover { color: var(--g-ink); }

.g-head { max-width: 50rem; padding-bottom: 36px; border-bottom: 1px solid var(--g-line); }
.guide .g-title { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.06; letter-spacing: -.03em; margin: 0; text-wrap: balance; }
.g-lead { margin: 20px 0 0; font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.6; color: var(--g-soft); max-width: 60ch; text-wrap: pretty; }

.g-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(36px, 6vw, 80px); align-items: start; margin-top: 40px; }
.g-body { min-width: 0; max-width: 68ch; }
.g-body section + section { margin-top: 56px; }
.guide h2 { font-family: var(--display); font-weight: 450; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 20px; }
.guide h3 { font-family: var(--display); font-weight: 500; font-size: 1.18rem; line-height: 1.3; letter-spacing: -.01em; margin: 0 0 6px; text-transform: none; }

.g-answer p { font-size: 1.12rem; line-height: 1.75; margin: 0 0 20px; text-wrap: pretty; }

.g-steps { list-style: none; display: flex; flex-direction: column; gap: 0; }
.g-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding: 20px 0; }
.g-steps li + li { border-top: 1px solid var(--g-line); }
.g-step-n {
  width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--sage-100, #E3EEF9); color: var(--g-accent); font-family: var(--display); font-weight: 500; font-size: 1.05rem; font-variant-numeric: tabular-nums;
}
.g-steps p { margin: 0; color: var(--g-soft); line-height: 1.65; }

.g-cant ul { list-style: none; display: flex; flex-direction: column; gap: 14px; padding: 24px 26px; border-radius: 20px; background: rgba(255, 255, 255, .7); border: 1px solid var(--g-line); }
.g-cant li { position: relative; padding-left: 22px; color: var(--g-soft); line-height: 1.65; }
.g-cant li::before { content: ''; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: #C08A52; }

.g-faq { border-top: 1px solid var(--g-line); }
.g-faq details { border-bottom: 1px solid var(--g-line); }
.g-faq summary { cursor: pointer; list-style: none; padding: 18px 44px 18px 0; position: relative; font-weight: 700; font-size: 1.04rem; line-height: 1.45; }
.g-faq summary::-webkit-details-marker { display: none; }
.g-faq summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--g-accent); transition: transform .25s ease; }
.g-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.g-faq summary:hover { color: var(--g-accent); }
.g-faq p { margin: 0 0 20px; color: var(--g-soft); line-height: 1.7; max-width: 62ch; }

.g-related { display: flex; flex-direction: column; border-top: 1px solid var(--g-line); }
.g-related a { display: block; padding: 20px 0; border-bottom: 1px solid var(--g-line); text-decoration: none; color: inherit; }
.g-related a:hover h3 { color: var(--g-accent); }
.g-related p { margin: 0; color: var(--g-soft); font-size: .98rem; line-height: 1.6; }

/* the start-free card: sticky beside the article on desktop */
.g-aside { position: sticky; top: 104px; }
.g-card { padding: 26px; border-radius: 20px; background: #fff; border: 1px solid rgba(27, 37, 49, .06); box-shadow: 0 24px 54px -32px rgba(27, 47, 74, .45); }
.g-card-title { font-family: var(--display); font-weight: 500; font-size: 1.25rem; line-height: 1.3; margin: 0 0 8px; }
.g-card-text { margin: 0 0 18px; color: var(--g-soft); font-size: .95rem; line-height: 1.55; }
.g-btn {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 14px 22px; border-radius: 999px;
  background: var(--g-ink); color: #fff; font-weight: 700; font-size: 1rem; text-decoration: none; text-align: center;
  box-shadow: 0 12px 28px -14px rgba(27, 37, 49, .6); transition: transform .25s cubic-bezier(.16, 1, .3, 1), background-color .2s ease;
}
.g-btn:hover { background: #0F1620; transform: translateY(-1px); }
.g-btn:active { transform: translateY(1px) scale(.99); }
.g-promises { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--g-line); display: flex; flex-direction: column; gap: 8px; font-size: .9rem; color: var(--g-soft); }
.g-promises li { padding-left: 20px; position: relative; }
.g-promises li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 9px; height: 5px; border-left: 2px solid var(--g-accent); border-bottom: 2px solid var(--g-accent); transform: rotate(-45deg); }

.g-care { margin: 64px 0 0; padding-top: 24px; border-top: 1px solid var(--g-line); color: var(--g-soft); font-size: .92rem; line-height: 1.6; max-width: 70ch; }
.g-care a { text-decoration: underline; text-underline-offset: 3px; }

.guide a:focus-visible, .guide summary:focus-visible { outline: 2px solid var(--g-accent); outline-offset: 3px; border-radius: 6px; }

@media (max-width: 900px) {
  .g-layout { grid-template-columns: 1fr; }
  .g-aside { position: static; order: -1; }   /* on phones the start-free card comes right after the intro */
  .g-body { max-width: none; }
}
@media (max-width: 560px) {
  .guide { padding: 28px 18px 64px; }
  .g-head { padding-bottom: 28px; }
  .g-layout { margin-top: 28px; gap: 36px; }
  .g-answer p { font-size: 1.06rem; }
  .g-cant ul { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { .g-btn, .g-faq summary::after { transition: none; } }
.g-tool { margin: 28px 0 36px; padding: 16px 18px; border-radius: 14px; background: #FBFAF7; border: 1px solid rgba(40, 32, 22, .1); font-size: .98rem; line-height: 1.6; }
.g-tool a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.g-more { margin: 30px 0 0; font-size: .95rem; color: var(--g-soft, #4A5668); line-height: 1.8; }
.g-more a { color: var(--g-accent, #3F6E9E); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(63, 110, 158, .35); }
