/* The guide pages: How It Works, What It Touches In Your Store, For Agencies, For Store Owners,
   Before And After, and Collection Pages Are Not Blog Posts. The section, eyebrow, tag and
   step rules carry the same values as home.css, so these pages read as part of the same site. */

/* ---------- Page head */
.g-head { border-top: 1px solid var(--line); }
.g-head-in { max-width: 1120px; margin: 0 auto; padding: 64px 24px 56px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.g-h1 { margin: 0; max-width: 820px; font-family: var(--font-head); font-weight: 500; font-size: clamp(40px, 5.6vw, 62px); line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
.g-lead { margin: 0; max-width: 680px; color: var(--muted); font-size: 18px; text-wrap: pretty; }
.g-btns { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }

/* ---------- Sections (same values as home.css) */
.sec { border-top: 1px solid var(--line); }
.sec-tint { background: var(--tint); }
.sec-in { max-width: 1120px; margin: 0 auto; padding: 72px 24px; display: flex; flex-direction: column; gap: 36px; }
.sec-intro { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.eyebrow > span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.eyebrow-teal > span { background: #0B8C99; }
.eyebrow-pink > span { background: #D6368F; }
.sec-h { margin: 0; font-family: var(--font-head); font-weight: 500; font-size: clamp(30px, 4vw, 42px); line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; }
.sec-lead { margin: 0; color: var(--muted); font-size: 17px; text-wrap: pretty; }
.sec-note { margin: 0; max-width: 720px; font-size: 14px; color: var(--muted); }
.g-prose { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.g-prose p { margin: 0; font-size: 16px; line-height: 1.65; text-wrap: pretty; }
.g-prose b { font-weight: 600; }
.tag { display: inline-flex; padding: 2px 10px; border: 1px solid currentColor; border-radius: 999px; background: var(--white); font-size: 12px; font-weight: 500; white-space: nowrap; }
.tag-close { color: var(--close); }
.tag-bad { color: var(--bad); }
.tag-good { color: var(--good); }

/* ---------- Check and cross lists */
.g-checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.g-checks li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.6; }
.g-checks svg { margin-top: 3px; }
.g-box { display: flex; flex-direction: column; gap: 16px; max-width: 760px; padding: 24px 28px; border: 1px solid var(--ink); border-radius: 22px; background: var(--white); }
.g-box-h { margin: 0; font-family: var(--font-head); font-weight: 500; font-size: 24px; letter-spacing: -0.01em; }
.g-nots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 28px; }
.g-nots > div { display: flex; flex-direction: column; gap: 8px; }
.g-nots h3 { margin: 4px 0 0; font-weight: 600; font-size: 16px; }
.g-nots p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Cards */
.g-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.g-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.g-card h3 { margin: 0; font-family: var(--font-head); font-weight: 500; font-size: 20px; letter-spacing: -0.01em; }
.g-card p { margin: 0; color: var(--muted); font-size: 15px; text-wrap: pretty; }
.g-card ul { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 15px; }
.g-card-on { border-color: var(--ink); }

/* ---------- Numbered list (same values as home.css .steps) */
.g-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.g-steps li { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 24px 0; border-top: 1px solid var(--ink); }
.g-steps h3 { margin: 0; font-family: var(--font-head); font-weight: 500; font-size: 20px; letter-spacing: -0.01em; }
.g-steps p { margin: 0; color: var(--muted); font-size: 15px; }
.step-n { width: 32px; height: 32px; border: 1px solid var(--ink); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 15px; box-sizing: border-box; }
.step-n-on { border-color: var(--accent); background: var(--accent); color: var(--white); }

/* ---------- Rows of facts: a label and its value */
.g-rows { margin: 0; display: flex; flex-direction: column; max-width: 860px; border-top: 1px solid var(--ink); }
.g-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 8px 28px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.g-row dt { font-weight: 600; }
.g-row dd { margin: 0; color: var(--muted); }

/* ---------- Read next */
.g-next { display: flex; flex-direction: column; gap: 12px; }
.g-next-h { margin: 0; font-family: var(--font-head); font-weight: 500; font-size: 20px; }
.g-next ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); column-gap: 24px; border-top: 1px solid var(--line); }
.g-next li { border-bottom: 1px solid var(--line-soft); }
.g-next a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 4px 6px; color: var(--ink); text-decoration: none; font-size: 15px; }
.g-next a:hover { color: var(--ink); background: var(--hover); }
.g-next a span:last-child { color: var(--muted); font-size: 13px; white-space: nowrap; }

/* ---------- How It Works: one collection, step by step */
.hw-sample { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 14px; color: var(--muted); }
.hw-sample b { color: var(--ink); font-weight: 600; }
.hw-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border: 1px solid var(--ink); border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--ink); }
.hw-pill > span { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.hw { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.hw-step { display: grid; grid-template-columns: 48px minmax(0, 1fr) 280px; gap: 0 28px; padding: 36px 0; border-top: 1px solid var(--line); }
.hw-step:first-child { border-top-color: var(--ink); }
.hw-n { width: 36px; height: 36px; border: 1px solid var(--ink); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 16px; box-sizing: border-box; }
.hw-step-on .hw-n { border-color: var(--accent); background: var(--accent); color: var(--white); }
.hw-text { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.hw-text h3 { margin: 0; font-family: var(--font-head); font-weight: 500; font-size: clamp(22px, 2.6vw, 27px); line-height: 1.2; letter-spacing: -0.015em; }
.hw-where { font-size: 13px; color: var(--muted); }
.hw-text p { margin: 0; line-height: 1.65; text-wrap: pretty; }
.hw-pts { align-self: start; display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.hw-step-on .hw-pts { border-color: var(--accent); }
.hw-pts-label { font-size: 12px; color: var(--muted); }
.hw-pts-num { font-family: var(--font-head); font-weight: 500; font-size: 36px; line-height: 1.05; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.hw-pts-num-sm { font-size: 22px; line-height: 1.25; }
.hw-pts-note { font-size: 13px; color: var(--muted); }
.hw-up { color: var(--accent-ink); }

/* The plan's changes, each with its points */
.hw-plan { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.hw-plan li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; padding: 10px 16px; border-top: 1px solid var(--line-soft); font-size: 15px; }
.hw-plan li:first-child { border-top: 0; }
.hw-plan-sum { background: var(--tint); font-weight: 600; }
.hw-plan .g-pts { white-space: normal; }
.g-pts { flex: 0 1 auto; display: inline-flex; padding: 2px 10px; border-radius: 999px; background: var(--accent-tint); color: var(--accent-ink); font-size: 13px; font-weight: 600; white-space: nowrap; }

/* A small drawing of one editor box */
.hw-box { display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; }
.hw-box-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 600; }
.hw-box-text { padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 10px; font-size: 15px; }
.hw-box-text mark { padding: 0 2px; border-radius: 3px; background: var(--accent-tint); color: inherit; }
.hw-box-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: 12px; color: var(--muted); }

/* A score bar, drawn in SVG so no inline style is needed: your score filled, the competing
   pages' span shaded, the plan marked.
   data-motion="once" grows the fill the first time most of it is in view; its resting style is the full bar. */
.g-meter { display: flex; flex-direction: column; gap: 8px; }
.g-track { display: block; width: 100%; height: 14px; overflow: visible; }
.g-rail { fill: #F1F1F6; }
.g-band { fill: #D9DAE4; }
.g-you { fill: var(--ink); transform-box: fill-box; transform-origin: left center; }
.g-plan { fill: var(--accent); }
.g-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
@keyframes g-grow { from { transform: scaleX(0); } }
.g-meter[data-motion] .g-you { animation: g-grow 1.1s ease-out .15s both; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--muted); }
.legend > span { display: inline-flex; align-items: center; gap: 6px; }
.legend-you { width: 12px; height: 4px; border-radius: 2px; background: var(--ink); }
.legend-band { width: 12px; height: 4px; border-radius: 2px; background: #D9DAE4; }
.legend-plan { width: 3px; height: 12px; border-radius: 2px; background: var(--accent); }

/* ---------- Two columns side by side */
.g-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }

/* ---------- Plan facts (For Agencies, For Store Owners) */
.g-plan-box { display: flex; flex-wrap: wrap; align-items: stretch; gap: 28px; padding: 26px; border: 1px solid var(--ink); border-radius: 24px; }
.g-plan-main { flex: 1 1 260px; display: flex; flex-direction: column; gap: 8px; }
.g-plan-name { font-family: var(--font-head); font-weight: 500; font-size: 24px; }
.g-price { display: flex; align-items: baseline; gap: 8px; }
.g-price > span:first-child { font-family: var(--font-head); font-weight: 600; font-size: 48px; line-height: 1; letter-spacing: -0.03em; }
.g-price > span:last-child { color: var(--muted); }
.g-plan-facts { flex: 2 1 360px; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 16px; }
.g-plan-facts div { display: flex; flex-direction: column; gap: 2px; padding-top: 10px; border-top: 1px solid var(--line); }
.g-plan-facts dt { font-family: var(--font-head); font-weight: 500; font-size: 28px; line-height: 1.1; }
.g-plan-facts dd { margin: 0; font-size: 14px; color: var(--muted); }
.g-addons { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.g-addons b { font-weight: 600; }

/* ---------- Collection Pages Are Not Blog Posts: one row per difference */
.vs { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 20px; }
.vs-item { display: flex; flex-direction: column; gap: 16px; padding: 26px; border: 1px solid var(--line); border-radius: 22px; }
.vs-item h3 { margin: 0; display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 500; font-size: clamp(22px, 2.6vw, 26px); letter-spacing: -0.015em; }
.vs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.vs-col { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.vs-col-ours { border-top: 2px solid var(--accent); }
.vs-label { font-size: 12px; font-weight: 600; color: var(--muted); }
.vs-col-ours .vs-label { color: var(--accent-ink); }
.vs-col p { margin: 0; font-size: 15px; line-height: 1.6; text-wrap: pretty; }

/* ---------- Before And After */
.ba-draft { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; max-width: 1072px; margin: 24px auto 0; padding: 12px 16px; border: 1px solid var(--close); border-radius: 16px; font-size: 15px; }
.ba-draft-tag { display: inline-flex; align-items: center; gap: 7px; padding: 2px 10px; border: 1px solid var(--close); border-radius: 999px; color: var(--close); font-size: 12px; font-weight: 600; }
.ba-draft-tag > span { width: 6px; height: 6px; border-radius: 50%; background: var(--close); }
.ba-draft > span:last-child { flex: 1 1 260px; min-width: 0; color: var(--muted); }
.ba-scores { display: flex; flex-wrap: wrap; align-items: stretch; gap: 20px; }
.ba-score { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; }
.ba-score-on { border-color: var(--ink); }
.ba-score-num { font-family: var(--font-head); font-weight: 500; font-size: 52px; line-height: 1; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.ba-score-label { font-size: 13px; color: var(--muted); }
.ba-quote { margin: 0; max-width: 760px; display: flex; flex-direction: column; gap: 12px; padding: 4px 0 4px 22px; border-left: 2px solid var(--accent); }
.ba-quote p { margin: 0; font-family: var(--font-head); font-size: clamp(22px, 2.6vw, 28px); line-height: 1.3; letter-spacing: -0.01em; }
.ba-quote footer { font-size: 15px; color: var(--muted); }

/* ---------- Phones */
@media (max-width: 900px) {
  .hw-step { grid-template-columns: 40px minmax(0, 1fr); gap: 16px 16px; }
  .hw-pts { grid-column: 2; }
  .vs-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 760px) {
  .g-head-in { padding: 40px 16px 40px; }
  .sec-in { padding: 52px 16px; }
  .g-box { padding: 20px 18px; }
  .g-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .g-plan-box, .vs-item { padding: 20px 18px; }
  .hw-step { grid-template-columns: minmax(0, 1fr); padding: 28px 0; }
  .hw-pts { grid-column: auto; }
  .g-steps li { padding-right: 0; }
  .ba-draft { margin: 16px 16px 0; }
}
