:root {
  --ink: #17212b;
  --muted: #4d5c67;
  --paper: #f6f8fa;
  --accent: #954800;
  --line: #d5dce2;
  --surface: #fff;
  --shot-dark: #15212c;
  --shot-amber: #ffd280;
  --shot-mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  --shot-display: "Avenir Next", "Avenir", system-ui, sans-serif;
}
body { background: var(--paper); color: var(--ink); font-family: var(--shot-display); }
::selection { color: var(--shot-dark); background: var(--shot-amber); }
.shot-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
  align-items: center;
  column-gap: clamp(1rem, 5.5vw, 5rem);
  padding: clamp(1.55rem, 5.5vw, 5rem);
  color: #f5f8fa;
  background: radial-gradient(ellipse at top right, #354654, transparent 62%), var(--shot-dark);
  border-radius: 1.3rem;
}
.shot-hero h1, .shot-mast h1 {
  margin: 0;
  font-family: var(--shot-display);
  font-weight: 780;
  font-size: clamp(2.2rem, 5.25vw, 4.9rem);
  letter-spacing: -.062em;
  line-height: 1.03;
  text-wrap: balance;
}
.shot-hero h1 span { white-space: nowrap; }
.shot-hero-copy > p { margin: 1.15rem 0 1.4rem; color: #e0e7eb; max-width: 39ch; font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1.6; }
.shot-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1.35rem; }
.shot-button, .shot-outline {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.8rem;
  padding: .6rem 1rem; border-radius: .45rem; border: 1px solid transparent;
  font: inherit; font-size: .94rem; font-weight: 700; cursor: pointer;
  text-align: center; text-decoration: none;
}
.shot-button { background: var(--shot-dark); color: white; }
.shot-button:hover { background: #2c4150; color: white; }
.shot-hero .shot-button { color: #21170a; background: var(--shot-amber); }
.shot-hero .shot-button:hover { background: #ffdfaa; }
.shot-text { color: #fff; font-weight: 650; text-decoration-color: #bfcbd3; text-underline-offset: .22em; }
.shot-ticket, .shot-input-card, .shot-result-card, .shot-note { background: white; border: 1px solid var(--line); border-radius: .65rem; }
.shot-ticket { min-width: 0; margin: 0; color: var(--ink); padding: clamp(.9rem, 2.5vw, 1.5rem); box-shadow: 0 .5rem 1.4rem #0b141c48; }
.shot-ticket figcaption { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .25rem .9rem; font-weight: 760; font-size: 1.075rem; padding-bottom: .75rem; }
.shot-ticket figcaption small { color: var(--muted); font-size: .78rem; font-weight: 600; }
.shot-ticket dl, .shot-result-card dl { margin: 0; }
.shot-ticket dl > div, .shot-result-card dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: .4rem; padding: .65rem 0; border-top: 1px solid var(--line); }
.shot-ticket dd, .shot-result-card dd { margin: 0; text-align: right; font-family: var(--shot-mono); font-variant-numeric: tabular-nums; }
.shot-ticket-total { font-weight: 750; }
.shot-ticket-total dd { font-size: clamp(1.38rem, 3.5vw, 2rem); }
.shot-timeline { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; border-block-start: 2px solid #bb6d1b; margin-top: .4rem; }
.shot-timeline > div { display: grid; gap: .12rem; padding-top: .62rem; }
.shot-timeline strong { font: 750 .85rem var(--shot-mono); }
.shot-timeline span { font-size: .83rem; color: var(--muted); }
.shot-home-guides { margin-top: clamp(2rem, 4.5vw, 4rem); }
.shot-home-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .55rem 1rem; padding-bottom: .65rem; border-bottom: 1px solid var(--line); }
.shot-home-heading h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.55rem); letter-spacing: -.045em; }
.shot-home-heading p { margin: 0; color: var(--muted); }
.shot-home-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.1rem, 3vw, 2.3rem); }
.shot-home-grid h3 { font-size: 1.18rem; line-height: 1.27; margin: 1.05rem 0 .4rem; }
.shot-home-grid p { line-height: 1.55; margin: 0; }
.shot-mast { padding: 1.35rem 0 clamp(1.6rem, 3.8vw, 3rem); border-bottom: 1px solid var(--line); }
.shot-mast h1 { max-width: 21ch; font-size: clamp(2.1rem, 5.15vw, 4.25rem); }
.shot-mast > p { max-width: 60ch; margin: .85rem 0 0; color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.24rem); line-height: 1.55; }
.shot-mast .shot-byline { margin-top: 1.1rem; font-size: .84rem; }
.shot-article-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(14rem, .46fr); align-items: start; gap: clamp(1.35rem, 4vw, 3.5rem); margin-block-start: 1.85rem; }
.shot-article { max-width: 70ch; }
.shot-article section { scroll-margin-top: 1.5rem; }
.shot-article h2, .shot-tool-method h2, .shot-output h2 { font-size: clamp(1.36rem, 2.8vw, 2rem); line-height: 1.15; letter-spacing: -.035em; margin: 0 0 .6rem; }
.shot-article section + section { margin-top: 1.7rem; }
.shot-article p, .shot-tool-method p, .shot-tool-intro { line-height: 1.62; margin: 0 0 .7rem; }
.shot-citation { margin-inline-start: .14em; font-size: max(.64em, .625rem); line-height: 0; }
.shot-citation a, .shot-sources a { text-decoration: none; }
.shot-sources { border-top: 1px solid var(--line); padding-top: 1rem; }
.shot-sources h2 { font-size: 1.1rem; }
.shot-sources ol { font-size: .85rem; padding-inline-start: 1.38rem; }
.shot-sources li { scroll-margin-top: 1.8rem; overflow-wrap: anywhere; }
.shot-sources li + li { margin-top: .38rem; }
.shot-sources li:target { outline: 1px solid var(--accent); outline-offset: .2rem; }
.shot-rail { position: sticky; top: 1.15rem; }
.shot-rail-tool { padding: 1rem; border-radius: .55rem; background: #e9eef2; }
.shot-rail h2 { margin: 0; font-size: 1.08rem; }
.shot-rail p { margin: .45rem 0 .8rem; line-height: 1.5; }
.shot-rail nav { margin-top: .85rem; padding: .75rem 0 0; border-top: 1px solid var(--line); }
.shot-rail ul, .shot-jump ul { display: grid; gap: .45rem; margin: .55rem 0 0; padding: 0; list-style: none; }
.shot-rail nav a, .shot-jump a { color: var(--muted); text-decoration: none; font-size: .87rem; }
.shot-rail nav a:hover, .shot-jump a:hover, .shot-sources a:hover { text-decoration: underline; }
.shot-jump { display: none; }
.shot-note { padding: 1rem; border-inline-start: 3px solid #bb6d1b; margin: 1rem 0; }
.shot-note h3 { margin: 0 0 .35rem; font-size: 1rem; }
.shot-note p { margin: 0; }
.shot-question-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-block: 1rem; }
.shot-question-grid > div { padding: .9rem; background: #e9eef2; border-radius: .55rem; }
.shot-question-grid dt { font-weight: 760; }
.shot-question-grid dd { margin: .2rem 0 0; line-height: 1.5; }
.shot-tool-intro { margin-block: 1rem; max-width: 70ch; }
.shot-worksheet label { display: grid; gap: .3rem; font-size: .92rem; font-weight: 680; color: var(--ink); }
.shot-worksheet input { width: 100%; min-width: 0; min-height: 2.65rem; font: inherit; color: var(--ink); background: white; border: 1px solid #a3aeb8; border-radius: .3rem; padding: .42rem .52rem; box-sizing: border-box; }
.shot-window { display: flex; align-items: end; flex-wrap: wrap; gap: .85rem 1rem; margin-bottom: 1.1rem; }
.shot-quote-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .95rem; }
.shot-input-card { min-width: 0; margin: 0; padding: .8rem 1rem 1rem; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem; }
.shot-input-card legend { font-weight: 760; padding: 0 .35rem; }
.shot-worksheet .shot-actions { margin-top: 1rem; }
.shot-outline { border-color: #a3aeb8; color: var(--ink); background: white; }
.shot-outline:hover { background: #eaf0f4; }
.shot-output { margin-top: 1.8rem; padding: 1rem; background: #e9eef2; border-radius: .65rem; min-width: 0; }
.shot-output > p { margin: .48rem 0 .75rem; }
.shot-result-card { min-width: 0; padding: .85rem; }
.shot-result-card h3 { margin: 0; }
.shot-result-card > p { margin: .2rem 0 .55rem; color: var(--muted); }
.shot-result-card .shot-total { font: 760 clamp(1.45rem, 3.5vw, 2rem) var(--shot-mono); color: var(--ink); }
.shot-tool-method { max-width: 72ch; margin-top: 1.7rem; }
@media (max-width: 52rem) {
  .shot-article-grid { grid-template-columns: 1fr; }
  .shot-rail { position: static; }
  .shot-rail nav { display: none; }
  .shot-jump { display: block; margin-bottom: 1.15rem; background: #e9eef2; border-radius: .4rem; padding: .25rem .7rem; }
  .shot-jump summary { cursor: pointer; font-weight: 720; padding: .55rem 0; }
  .shot-jump ul { margin: 0 0 .55rem; }
  .shot-jump a { display: inline-block; padding: .42rem 0; }
}
@media (max-width: 41rem) {
  .shot-hero, .shot-home-grid, .shot-quote-grid { grid-template-columns: 1fr; }
  .shot-hero { gap: 1.35rem; }
  .shot-home-grid { gap: .15rem; }
  .shot-home-grid article + article { border-top: 1px solid var(--line); margin-top: .75rem; }
}
@media (max-width: 23rem) {
  .shot-input-card, .shot-question-grid { grid-template-columns: 1fr; }
  .shot-hero { border-radius: .75rem; }
}
.glp1shot #main { width: min(var(--frame), calc(100% - 2.5rem)); margin: clamp(1rem, 3vw, 2.2rem) auto 0; }
.glp1shot .brand-mark {
  border-radius: .38rem;
  background:
    linear-gradient(var(--shot-amber), var(--shot-amber)) .49rem .53rem / .97rem .12rem no-repeat,
    linear-gradient(#fff, #fff) .49rem .94rem / .73rem .12rem no-repeat,
    linear-gradient(#fff, #fff) .49rem 1.35rem / .92rem .12rem no-repeat,
    var(--shot-dark);
}
@media (max-width: 42rem) {
  .glp1shot #main { width: calc(100% - 2rem); }
}
.shot-ledger { margin: 1.4rem 0; background: #fff; color: #142333; border: 1px solid #cfdae3; border-top: .27rem solid #bf861e; border-radius: .35rem; overflow: hidden; }
.shot-ledger figcaption { display: grid; gap: .15rem; padding: .8rem .85rem .7rem; }
.shot-ledger figcaption strong { font-size: 1.06rem; }
.shot-ledger figcaption span, .shot-ledger > p { color: #485b6b; font-size: .85rem; }
.shot-ledger table { width: 100%; border-collapse: collapse; table-layout: fixed; font-variant-numeric: tabular-nums; font-size: .88rem; text-align: right; }
.shot-ledger :is(th,td) { padding: .52rem .55rem; border-top: 1px solid #d8e2eb; }
.shot-ledger :is(th,td):first-child { width: 25%; text-align: left; }
.shot-ledger thead, .shot-ledger tbody tr:nth-child(even) { background: #f0f4f7; }
.shot-ledger tbody tr:last-child td:last-child { background: #fce7b4; font-weight: 750; }
.shot-ledger > p { margin: 0; padding: .6rem .85rem; border-top: 1px solid #d8e2eb; }
@media (max-width: 29rem) {
  .shot-ledger :is(th,td) { padding-inline: .24rem; }
  .shot-ledger table { font-size: .79rem; }
}
