/* Guide pages: the marine job card template, how to choose marine service software, and what it costs.
   They use the same hero, chapters, questions, next-page cards and closing band as the feature pages (fx.css).
   This file adds only the pieces drawn for the guides. Load it after fx.css.
   Price chart colours (validated light-surface set, white labels need 4.5:1 or better, the light step takes ink):
   office #51606b, first five engineers #0a5a3e, next five #177f5e, the rest #46b089. */
.gd-tag{display:inline-block;margin-bottom:16px;padding:6px 12px;border-radius:999px;background:#e1f6ee;color:#0b5f43;font:700 .85rem/1 Inter,sans-serif}
.gd-tag2{margin-left:auto;padding:4px 10px;border-radius:999px;background:#eef3f2;color:var(--mute);font:700 .8rem Inter,sans-serif}
.gd-hero .fx-stage{min-height:0;display:grid;align-content:center}
.gd-cw{position:relative;width:100%;max-width:560px;justify-self:end}
.gd-cw .fx-chip.c1{left:20px;top:auto;bottom:-17px}
.gd-cw .fx-chip.c2{left:auto;right:20px;bottom:-17px}
.gd-hero .fx-hd{justify-content:space-between}
.gd-cw .fx-card{padding-bottom:34px}

/* a job card, drawn: boxes to fill in and a checklist to tick */
.gd-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;margin:16px 0 0}
.gd-fields>div{padding-bottom:7px;border-bottom:1.5px solid var(--line-2)}
.gd-fields dt{font:600 .8rem Inter,sans-serif;color:var(--mute-2)}
.gd-fields dd{margin:3px 0 0;font:700 1rem Inter,sans-serif;color:var(--ink)}
.gd-rows{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:8px}
.gd-rows li{display:grid;grid-template-columns:22px minmax(0,1fr);gap:12px;align-items:center;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:.96rem;line-height:1.35;color:var(--ink)}
.gd-rows li:before{content:"";width:20px;height:20px;border-radius:6px;border:2px solid #9fb2ad;background:#fff}
.gd-rows li.on:before{border-color:#0f7652;background:#0f7652 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5.2 10.4l3.1 3.1 6.2-7' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/78% no-repeat}
.gd-more{margin-top:8px;padding:10px 12px;border:1.5px dashed #9fb2ad;border-radius:12px;color:var(--mute);font-size:.95rem}
.gd-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 28px}
.gd-form h3{margin:0 0 6px;font:800 1.1rem Archivo,Inter,sans-serif;letter-spacing:-.01em}
.gd-form ul{list-style:none;margin:0;padding:0}
.gd-form li{padding:12px 0;border-bottom:1px solid var(--line);font-size:.98rem;line-height:1.35;color:var(--ink)}
.gd-form li:last-child{border:0}
.gd-links{display:flex;flex-wrap:wrap;gap:0 24px;margin-top:14px}
.gd-link{display:inline-flex;align-items:center;min-height:44px;font-weight:700;color:var(--teal-ink);text-underline-offset:4px}

/* the ten questions, and a scorecard to use them with */
.gd-head{max-width:60ch}
.gd-head p{margin-top:14px;color:var(--mute);font-size:1.06rem}
.gd-qgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.gd-q{padding:20px 22px;border-radius:18px;background:#fff;border:1px solid var(--line);box-shadow:var(--sh-1)}
.gd-q h3{display:grid;grid-template-columns:30px minmax(0,1fr);gap:14px;align-items:start;margin:0;font:800 1.08rem/1.3 Archivo,Inter,sans-serif}
.gd-n{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:var(--ink);color:#fff;font:800 14px Archivo,Inter,sans-serif;font-style:normal}
.fx-ch .gd-q p{margin:10px 0 0 44px;max-width:none;color:var(--mute);font-size:1rem}
.gd-score .head{display:grid;grid-template-columns:28px minmax(0,1fr) 26px 26px;gap:10px;margin:14px 0 6px;padding:0 10px;font:600 .8rem Inter,sans-serif;color:var(--mute-2)}
.gd-score .head span:nth-child(n+3){text-align:center}
.gd-score ol{list-style:none;margin:0;padding:0;display:grid;gap:7px}
.gd-score li{display:grid;grid-template-columns:28px minmax(0,1fr) 26px 26px;gap:10px;align-items:center;padding:8px 10px;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:.96rem;color:var(--ink)}
.gd-score li b{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:var(--ink);color:#fff;font:800 12px Archivo,Inter,sans-serif}
.gd-score li i{width:22px;height:22px;border-radius:50%;border:2px solid #9fb2ad}

/* what it does not do, and what needs a signal */
.gd-lim .col h4{font-size:1.1rem}
.gd-lim.nope .no h4{color:#8a4b00}
.gd-lim.nope .no li:before{content:"✕";color:#8a4b00;font-weight:800;font-size:.9rem;line-height:1.5}
.gd-lim.sig .no li:before{content:"↑";color:#8a4b00;font-weight:800;font-size:1rem;line-height:1.4}
.gd-lim li{font-size:.97rem}

/* a drawn price: the hero's month, and how each way of charging counts people */
.gd-bill dl{margin:14px 0 0}
.gd-bill dl>div{display:flex;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid var(--line)}
.gd-bill dt{color:var(--mute)}
.gd-bill dd{margin:0;font:700 1rem Inter,sans-serif;font-variant-numeric:tabular-nums}
.gd-bill .tot{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-top:18px}
.gd-bill .tot span{font:700 1rem Inter,sans-serif}
.gd-bill .tot b{font:800 2.7rem/1 Archivo,Inter,sans-serif;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.gd-bill .sub{margin:12px 0 0;color:var(--mute);font-size:.94rem}
.gd-ways{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.gd-way{padding:22px;border-radius:18px;background:#fff;border:1px solid var(--line);box-shadow:var(--sh-1)}
.gd-way h3{margin:20px 0 0;font:800 1.2rem Archivo,Inter,sans-serif;letter-spacing:-.01em}
.fx-ch .gd-way p{margin:8px 0 0;max-width:none;color:var(--mute);font-size:1rem}
.fx-ch .gd-way p.res{margin-top:14px;padding-top:12px;border-top:1px solid var(--line);color:var(--ink);font-weight:600;font-size:.94rem}
.gd-seats{display:flex;gap:6px;padding:10px;border-radius:12px;border:1.5px solid transparent}
.gd-seats i{flex:1 1 0;max-width:34px;aspect-ratio:1;border-radius:8px;border:2px solid var(--c);background:#fff}
.gd-seats i.on{background:var(--c)}
.gd-seats.band{border-color:#cfe3dc;background:#eef8f4}
.gd-seats .of{--c:#51606b}
.gd-seats .en{--c:#177f5e}
.gd-lbl{display:flex;gap:6px;padding:0 10px;margin-top:6px;font:600 .8rem Inter,sans-serif;color:var(--mute-2)}
.gd-lbl span:first-child{flex:3 1 0}.gd-lbl span:last-child{flex:5 1 0}

/* the price chart: one stacked bar per team size, direct labels, the text list stays the source.
   Every bar uses the same scale: a segment is its pounds out of 549 (the 20-engineer total) of the full row width. */
.gd-price-grid{display:grid;grid-template-columns:minmax(0,.62fr) minmax(0,1.38fr);gap:48px;align-items:start}
.fx-ch.full .gd-price-grid .fx-copy{display:block}
.gd-price-grid h2{max-width:14ch}
.gd-price-grid .fx-copy h3{margin:26px 0 0;font:800 1.15rem Archivo,Inter,sans-serif}
.fx-ch .gd-price-grid .fx-copy p{margin-top:6px}
.gd-bars-card{padding:22px 24px}
.gd-bars-card h3{margin:0;font:800 1.15rem Archivo,Inter,sans-serif;letter-spacing:-.01em}
.gd-key{display:flex;flex-wrap:wrap;gap:6px 18px;margin:12px 0 0;font:600 .86rem Inter,sans-serif;color:var(--ink)}
.gd-key span{display:inline-flex;align-items:center;gap:8px}
.gd-key span:before{content:"";width:12px;height:12px;border-radius:3px;background:var(--c)}
.gd-bars{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:16px}
.gd-bars li{display:grid;gap:7px}
.gd-bars .t{color:var(--ink);font:700 .96rem Inter,sans-serif}
.gd-bars small{margin-left:6px;color:var(--mute);font:500 .9rem Inter,sans-serif;font-variant-numeric:tabular-nums}
.gd-track{display:flex;gap:2px;width:100%}
.gd-track i{position:relative;display:block;height:24px;flex:0 0 calc(var(--v) / 549 * 100% - 2px);background:var(--c)}
.gd-track i:last-child{border-radius:0 4px 4px 0}
.gd-track i[data-l]:after{content:attr(data-l);position:absolute;inset:0;display:grid;place-items:center;color:#fff;font:700 11.5px Inter,sans-serif;font-variant-numeric:tabular-nums}
.gd-track i.lt[data-l]:after{color:#0d2b36}
.gd-notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:26px}
.gd-note{padding:20px 22px;border-radius:18px;background:#fff;border:1px solid var(--line);box-shadow:var(--sh-1)}
.gd-note h3{margin:0;font:800 1.1rem Archivo,Inter,sans-serif}
.fx-ch .gd-note p{margin:8px 0 0;max-width:none;color:var(--mute);font-size:1rem}
.gd-ask h3{margin:0 0 4px;font:800 1.1rem Archivo,Inter,sans-serif}
.gd-ask .gd-fields{margin-top:12px}
.gd-ask .gd-fields dd{min-height:1.3em;color:var(--mute-2);font-weight:500}
.fx-ch .gd-ask p{margin:12px 0 0;max-width:none;color:var(--ink);font-size:1.02rem}

/* the thumbnails on the "More from KeelSync Service" cards */
.gd-mini{display:block;width:216px;padding:10px 14px;border-radius:14px;background:#fff;border:1px solid var(--line);box-shadow:var(--sh-2);text-align:left;font:600 12px/1.2 Inter,sans-serif;color:var(--ink)}
.gd-mini b{display:block;margin-bottom:6px;font:800 12.5px Archivo,Inter,sans-serif}
.gd-mini span{display:flex;align-items:center;gap:8px;padding:5px 0;border-top:1px solid var(--line)}
.gd-mini span:before{content:"";flex:none;width:12px;height:12px;border-radius:4px;border:1.5px solid #9fb2ad}
.gd-mini span.on:before{border-color:#0f7652;background:#0f7652}
.gd-mini.q span:before{display:none}
.gd-mini.q span i{flex:none;display:grid;place-items:center;width:16px;height:16px;border-radius:5px;background:var(--ink);color:#fff;font:800 9.5px Archivo,Inter,sans-serif;font-style:normal}
.gd-mini.bars span{display:block;padding:3px 0;border:0}
.gd-mini.bars span:before{display:none}
.gd-mini.bars em{display:flex;gap:2px;height:10px;margin-top:3px;font-style:normal}
.gd-mini.bars em i{display:block;flex:0 0 calc(var(--v) / 549 * 100% - 2px);background:var(--c)}
.gd-mini.bars em i:last-child{border-radius:0 3px 3px 0}
.gd-mini.price{text-align:center;padding:16px 14px}
.gd-mini.price strong{display:block;font:800 2.2rem/1 Archivo,Inter,sans-serif;letter-spacing:-.03em}
.gd-mini.price small{display:block;margin-top:6px;color:var(--mute);font:500 12px Inter,sans-serif}

@media(max-width:900px){
 .gd-cw{max-width:none;justify-self:stretch}
 .gd-cw .fx-chip.c1{left:14px;top:auto}
 .gd-cw .fx-chip.c2{display:flex;right:14px}
 .gd-qgrid,.gd-ways,.gd-notes,.gd-form{grid-template-columns:minmax(0,1fr)}
 .gd-price-grid{grid-template-columns:minmax(0,1fr);gap:30px}
 .gd-seats i{max-width:40px}
}
@media(max-width:600px){
 .gd-cw .fx-chip{gap:6px;padding:7px 11px;font-size:12.5px}
 .gd-cw .fx-chip i{width:18px;height:18px;font-size:11px}
 .gd-fields{grid-template-columns:minmax(0,1fr)}
 .gd-track i[data-l]:after{display:none}
 .gd-bars-card{padding:18px}
 .gd-bill .tot b{font-size:2.3rem}
 .fx-ch .gd-q p{margin-left:0}
}
@media(max-width:340px){.gd-cw .fx-chip.c2{display:none}}
