/* Guides: visual pieces for the long-form guides, loaded after studio.css and services.css on guide
   pages only. Same palette and type as the rest of the site: dark page, light type, thin lines, one
   light "paper" panel per page for contrast. Every class starts with g- so nothing else is affected. */

/* In this guide: numbered jump links */
.service-page .g-toc {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}
.service-page .g-toc li {
  counter-increment: toc;
  border-bottom: 1px solid var(--line);
}
.service-page .g-toc a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px;
  padding: 16px 0;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: #d9d9d4;
  transition: color 0.3s var(--ease);
}
.service-page .g-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #8b8b86;
}
.service-page .g-toc a::after {
  content: "↓";
  font-size: 13px;
  color: #66665f;
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}
.service-page .g-toc a:hover {
  color: var(--text);
}
.service-page .g-toc a:hover::after {
  color: var(--text);
  transform: translateY(3px);
}

/* The short version: the page's one light panel */
.service-page .g-short {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 28px 56px;
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--hero-radius);
  background: var(--paper);
  color: #151514;
}
.service-page .g-short .eyebrow {
  color: #6c6c66;
}
.service-page .g-short h2 {
  margin-top: 16px;
  color: #151514;
}
.service-page .g-short ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: short;
}
.service-page .g-short li {
  counter-increment: short;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid #d6d6d0;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.service-page .g-short li:first-child {
  padding-top: 0;
}
.service-page .g-short li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.service-page .g-short li::before {
  content: counter(short, decimal-leading-zero);
  padding-top: 6px;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #77776f;
}
.service-page .g-short strong {
  font-weight: 500;
}

/* A process drawn as connected steps */
.service-page .g-flow {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr));
  gap: 28px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.service-page .g-flow li {
  position: relative;
}
.service-page .g-flow .dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 26px;
  border: 1px solid #5a5a55;
  border-radius: 50%;
  background: var(--bg);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text);
}
.service-page .g-flow li:first-child .dot {
  border-color: var(--text);
  background: var(--text);
  color: var(--bg);
}
/* the line between the circles */
.service-page .g-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 26px;
  left: 60px;
  right: -20px;
  height: 1px;
  background: repeating-linear-gradient(90deg, #5a5a55 0 6px, transparent 6px 12px);
}
.service-page .g-flow .when {
  display: block;
  margin-bottom: 10px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b8b86;
}
.service-page .g-flow h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -0.04em;
}
.service-page .g-flow p {
  font-size: 15px;
  line-height: 1.55;
  color: #a5a5a0;
}

/* Words beside a picture (a phone, a card) */
.service-page .g-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 40px;
  align-items: center;
}

/* A phone with a text conversation */
.service-page .g-phone {
  width: 100%;
  max-width: 330px;
  justify-self: center;
  padding: 14px 14px 20px;
  border: 1px solid #44443f;
  border-radius: 40px;
  background: #0b0b0a;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.service-page .g-phone .bar {
  width: 92px;
  height: 22px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: #1d1d1b;
}
.service-page .g-phone .who {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid #262624;
  font-size: 12px;
  color: #cfcfca;
}
.service-page .g-phone .avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #2c2c29;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text);
}
.service-page .g-phone .msgs {
  display: grid;
  gap: 8px;
  padding: 14px 4px 0;
}
.service-page .g-phone .time {
  justify-self: center;
  font-size: 10px;
  color: #77776f;
}
.service-page .g-phone .msg {
  max-width: 86%;
  padding: 10px 13px;
  border-radius: 18px;
  font-size: 13.5px;
  line-height: 1.42;
}
.service-page .g-phone .msg.us {
  justify-self: end;
  border-bottom-right-radius: 6px;
  background: var(--paper);
  color: #151514;
}
.service-page .g-phone .msg.them {
  justify-self: start;
  border-bottom-left-radius: 6px;
  background: #262624;
  color: #e6e6e1;
}
.service-page .g-phone .msg .link {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.service-page .g-caption {
  margin-top: 14px;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
  color: #8b8b86;
}

/* Do and don't */
.service-page .g-dodont {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.service-page .g-card {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #161615;
}
.service-page .g-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 24px;
  letter-spacing: -0.04em;
}
.service-page .g-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-page .g-card li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid #2a2a28;
  font-size: 15.5px;
  line-height: 1.5;
  color: #b9b9b4;
}
.service-page .g-card li strong {
  font-weight: 500;
  color: #e6e6e1;
}
.service-page .g-icon {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 13px;
  line-height: 1;
}
.service-page .g-do .g-icon {
  background: var(--text);
  color: var(--bg);
}
.service-page .g-dont .g-icon {
  border: 1px solid #66665f;
  color: #b9b9b4;
}
.service-page .g-card li .g-icon {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  font-size: 11px;
}

/* Big numbers */
.service-page .g-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(var(--stats, 3), minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-page .g-stats li {
  padding-top: 18px;
  border-top: 1px solid #444440;
}
.service-page .g-stats .big {
  display: block;
  font-size: clamp(52px, 6.4vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.07em;
}
.service-page .g-stats .label {
  display: block;
  margin-top: 14px;
  max-width: 300px;
  font-size: 15px;
  line-height: 1.5;
  color: #b9b9b4;
}
.service-page .g-stats .src {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  color: #77776f;
}
.service-page .g-stats .src a {
  text-decoration: underline;
  text-decoration-color: #4d4d48;
  text-underline-offset: 2px;
}

/* A quote from the source */
.service-page .g-quote {
  margin: 0;
  padding: 4px 0 4px 26px;
  border-left: 1px solid var(--text);
}
.service-page .g-quote p {
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.035em;
  color: var(--text);
}
.service-page .g-quote cite {
  display: block;
  margin-top: 16px;
  font-size: 12px;
  font-style: normal;
  color: #8b8b86;
}
.service-page .g-quote cite a {
  text-decoration: underline;
  text-decoration-color: #4d4d48;
  text-underline-offset: 2px;
}
.service-page .g-quote + .prose {
  margin-top: 28px;
}

/* A review and the owner's reply */
.service-page .g-reviews {
  display: grid;
  gap: 14px;
}
.service-page .g-review {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #161615;
}
.service-page .g-review.reply {
  margin-left: clamp(20px, 5vw, 56px);
  background: transparent;
}
.service-page .g-review .head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.service-page .g-review .avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #2c2c29;
  font-size: 11px;
  color: var(--text);
}
.service-page .g-review .name {
  font-size: 14px;
  color: #e6e6e1;
}
.service-page .g-review .meta {
  font-size: 11px;
  color: #8b8b86;
}
.service-page .g-review .stars {
  letter-spacing: 2px;
  color: var(--text);
}
.service-page .g-review .stars .off {
  color: #44443f;
}
.service-page .g-review p {
  font-size: 15.5px;
  line-height: 1.55;
  color: #b9b9b4;
}
.service-page .g-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border: 1px solid #44443f;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b8b86;
}

/* Channels: what each one costs and how fast it works */
.service-page .g-channels {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-page .g-channels li {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #161615;
}
.service-page .g-channels .n {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #8b8b86;
}
.service-page .g-channels h3 {
  margin: 30px 0 12px;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -0.04em;
}
.service-page .g-channels p {
  flex: 1;
  font-size: 15px;
  line-height: 1.55;
  color: #a5a5a0;
}
.service-page .g-channels a {
  text-decoration: underline;
  text-decoration-color: #4d4d48;
  text-underline-offset: 3px;
}
.service-page .g-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 22px;
}
.service-page .g-tags span {
  padding: 5px 10px;
  border: 1px solid #3d3d39;
  border-radius: 999px;
  font-size: 11px;
  color: #cfcfca;
}

/* A checklist */
.service-page .g-check {
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-page .g-check li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  line-height: 1.5;
  color: #b9b9b4;
}
.service-page .g-check li:first-child {
  padding-top: 0;
}
.service-page .g-check li::before {
  content: "";
  width: 20px;
  height: 20px;
  margin-top: 3px;
  border: 1px solid #77776f;
  border-radius: 6px;
}
.service-page .g-check strong {
  font-weight: 500;
  color: #e6e6e1;
}

/* A short note, e.g. the law */
.service-page .g-note {
  margin-top: 26px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.55;
  color: #b9b9b4;
}
.service-page .g-note strong {
  font-weight: 500;
  color: #e6e6e1;
}
.service-page .g-note a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: #66665f;
  text-underline-offset: 3px;
}

/* Next guide links */
.service-page .g-next {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(var(--next, 3), minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-page .g-next a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.service-page .g-next a:hover {
  border-color: #6b6b65;
  background: #161615;
}
.service-page .g-next .kind {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b8b86;
}
.service-page .g-next .title {
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

@media (max-width: 900px) {
  .service-page .g-short {
    grid-template-columns: 1fr;
  }
  .service-page .g-flow {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
  }
  .service-page .g-flow li::after {
    display: none;
  }
  .service-page .g-channels,
  .service-page .g-next {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 700px) {
  .service-page .g-toc {
    grid-template-columns: 1fr;
  }
  .service-page .g-flow {
    grid-template-columns: 1fr;
    gap: 0;
  }
  /* on phones the steps run down a dotted line */
  .service-page .g-flow li {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 0 18px;
    padding-bottom: 30px;
  }
  .service-page .g-flow li:not(:last-child)::after {
    display: block;
    top: 52px;
    bottom: 0;
    left: 26px;
    right: auto;
    width: 1px;
    height: auto;
    background: repeating-linear-gradient(180deg, #5a5a55 0 6px, transparent 6px 12px);
  }
  .service-page .g-flow .dot {
    grid-row: span 3;
    margin-bottom: 0;
  }
  .service-page .g-split {
    grid-template-columns: 1fr;
  }
  .service-page .g-dodont,
  .service-page .g-channels,
  .service-page .g-next,
  .service-page .g-stats {
    grid-template-columns: 1fr;
  }
  .service-page .g-check li {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .service-page .g-toc a::after,
  .service-page .g-next a {
    transition: none;
  }
}

/* Numbered steps inside running text */
.service-page .prose ol {
  padding-left: 1.3em;
}
.service-page .prose ol li + li {
  margin-top: 6px;
}

/* ==================================================================
   Header scene: a miniature Adelaide street at night, one inline SVG.
   Only transforms and opacity animate. guides.js shows each house's
   bubble in turn, adds a little depth under a mouse, and pauses it all
   when the scene is off screen or someone presses pause.
   ================================================================== */
.service-page .art.g-scene {
  position: relative;
  height: clamp(320px, 34vw, 500px);
  background: #0b0c0f;
}
.g-scene > svg {
  display: block;
  width: 100%;
  height: 100%;
}
.g-scene.is-off *,
.g-scene.is-paused *,
.g-story.is-off *,
.g-story.is-paused * {
  animation-play-state: paused !important;
}
.g-far,
.g-mid,
.g-near {
  transition: transform 0.9s var(--ease);
}
.g-far {
  transform: translate(calc(var(--mx, 0) * -14px), calc(var(--my, 0) * -9px));
}
.g-mid {
  transform: translate(calc(var(--mx, 0) * 8px), calc(var(--my, 0) * 6px));
}
.g-near {
  transform: translate(calc(var(--mx, 0) * 18px), calc(var(--my, 0) * 13px));
}
.g-star {
  fill: #eeedea;
  animation: g-twinkle 3.2s ease-in-out infinite;
}
.g-tw2 { animation-delay: 0.8s; }
.g-tw3 { animation-delay: 1.6s; }
.g-tw4 { animation-delay: 2.4s; }
.g-moon { fill: #ece9df; }
.g-isle { opacity: 0.55; }
.g-side-l { fill: #14161c; }
.g-side-r { fill: #0d0e12; }
.g-road { fill: #20232b; }
.g-dash {
  fill: none;
  stroke: #4a4f5b;
  stroke-width: 1.6;
  stroke-dasharray: 9 11;
  animation: g-dash 6s linear infinite;
}
.g-lot { fill: #171a20; }
.g-drive {
  fill: none;
  stroke: #20232b;
  stroke-width: 9;
  stroke-linecap: round;
}
.g-pool { animation: g-glow 4s ease-in-out infinite; }
.g-pole {
  fill: none;
  stroke: #3a3e48;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.g-lamp { fill: #ffe2b0; }
.g-wl { fill: #3d414c; }
.g-wr { fill: #2b2f37; }
.g-rl { fill: #505664; }
.g-rr { fill: #363b46; }
.g-sl { fill: #393d47; }
.g-sr { fill: #292c34; }
.g-stop { fill: #474c59; }
.g-rdoor { fill: #1f2229; }
.g-slat {
  fill: none;
  stroke: #2f333c;
  stroke-width: 1.2;
}
.g-sign {
  fill: #eeedea;
  opacity: 0.9;
}
.g-door { fill: #191b20; }
.g-win {
  fill: #ffb23e;
  stroke: #ffb23e;
  stroke-opacity: 0.22;
  stroke-width: 7;
  stroke-linejoin: round;
}
.g-fl1 { animation: g-flicker 5s steps(1, end) infinite; }
.g-fl2 { animation: g-flicker 7s steps(1, end) 1.3s infinite; }
.g-trunk { fill: #1a1c21; }
.g-leaf { fill: #242830; }
.g-leafhi { fill: #2f343d; }
.g-sway {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: g-sway 4s ease-in-out infinite;
}
.g-sw2 { animation-delay: 1s; }
.g-sw3 { animation-delay: 2s; }
.g-sw4 { animation-delay: 3s; }
.g-smoke {
  fill: #666b77;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: g-smoke 3.6s ease-out infinite;
}
.g-sm2 { animation-delay: 1.2s; }
.g-sm3 { animation-delay: 2.4s; }
.g-car { animation: g-drive 16s linear infinite; }
.g-carbody { fill: #ecece7; }
.g-cab { fill: #9da2ad; }
.g-tray {
  fill: none;
  stroke: #8a8f99;
  stroke-width: 1;
}
.g-tail { fill: #d9822b; }
.g-pin { fill: #f4f4f1; }
.g-pindot { fill: #0c0d10; }
.g-ring {
  fill: none;
  stroke: #f4f4f1;
  stroke-width: 1.2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: g-ring 2.6s var(--ease) infinite;
}
.g-rg2 { animation-delay: 0.65s; }
.g-rg3 { animation-delay: 1.3s; }
.g-rg4 { animation-delay: 1.95s; }
.g-bob { animation: g-bob 2.8s ease-in-out infinite; }
.g-bo2 { animation-delay: 0.7s; }
.g-bo3 { animation-delay: 1.4s; }
.g-bo4 { animation-delay: 2.1s; }
.g-scene [data-house] { cursor: pointer; }
.g-bub {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 50% 100%;
  pointer-events: none;
}
.g-bub.is-on { animation: g-pop 0.6s cubic-bezier(0.2, 0.9, 0.25, 1.25) both; }
.g-bubbg { fill: #f4f4f1; }
.g-bubt {
  fill: #151514;
  font: 500 15.5px var(--font);
  letter-spacing: -0.01em;
}
.g-bubs {
  fill: #66665f;
  font: 400 12.5px var(--font);
}
.g-ibg { fill: #ffb23e; }
.g-ico { fill: #151514; }
.g-bstar {
  fill: #ffb23e;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.g-bub.is-on .g-bstar { animation: g-starpop 0.5s cubic-bezier(0.2, 0.9, 0.25, 1.4) both; }
.g-bub.is-on .g-d1 { animation-delay: 0.25s; }
.g-bub.is-on .g-d2 { animation-delay: 0.35s; }
.g-bub.is-on .g-d3 { animation-delay: 0.45s; }
.g-bub.is-on .g-d4 { animation-delay: 0.55s; }
.g-bub.is-on .g-d5 { animation-delay: 0.65s; }
.g-plus {
  fill: #b66a00;
  font: 500 16px var(--font);
  opacity: 0;
}
.g-bub.is-on .g-plus { animation: g-plus 1.6s ease-out 0.8s both; }

/* Pause: for the scene and the story, since both keep moving */
.g-pause {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(238, 237, 234, 0.22);
  border-radius: 50%;
  background: rgba(17, 17, 16, 0.62);
  color: var(--text);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.g-pause:hover {
  border-color: rgba(238, 237, 234, 0.5);
  background: rgba(17, 17, 16, 0.86);
}
.g-pause[hidden],
.g-pause .g-play,
.g-pause[aria-pressed="true"] .g-hold {
  display: none;
}
.g-pause svg {
  width: 14px;
  height: 14px;
}
.g-pause[aria-pressed="true"] .g-play { display: block; }

/* ==================================================================
   Phone story: big words on one side, a phone that plays each step on
   the other. guides.js steps through while the story is on screen.
   Without it, every step and its caption show as a plain list.
   ================================================================== */
.service-page .g-story {
  --beat: 4.2s;
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 520px) auto;
  justify-content: center;
  align-items: center;
  gap: 40px clamp(56px, 10vw, 180px);
  padding: clamp(28px, 4.5vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--hero-radius);
  background: #0c0c0b;
}
.g-story .g-pause {
  top: 16px;
  bottom: auto;
}
.g-beats {
  margin: 0;
  padding: 0;
  list-style: none;
}
.g-beat {
  display: block;
  width: 100%;
  margin: 0;
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--text);
  font: 400 clamp(40px, 5.6vw, 80px) / 1 var(--font);
  letter-spacing: -0.065em;
  text-align: left;
  transition: color 0.45s var(--ease);
}
.g-bar {
  position: relative;
  display: block;
  width: min(280px, 70%);
  height: 2px;
  margin-top: 12px;
  overflow: hidden;
  background: #2a2a28;
}
.g-bar i {
  position: absolute;
  inset: 0;
  background: #ffb23e;
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.g-cap {
  max-width: 440px;
  margin: 10px 0 26px;
  font-size: 17px;
  line-height: 1.55;
  color: #b9b9b4;
}
.g-story:not(.is-live) .g-bar { display: none; }
.g-story.is-live .g-beats { display: grid; }
.g-story.is-live .g-beats > li { display: contents; }
.g-story.is-live .g-beat {
  color: #6b6b65;
  cursor: pointer;
}
.g-story.is-live .g-beat:hover { color: #9a9a95; }
.g-story.is-live .is-on > .g-beat { color: var(--text); }
.g-story.is-live .g-bar { visibility: hidden; }
.g-story.is-live .is-on .g-bar { visibility: visible; }
.g-story.is-live .is-on .g-bar i { animation: g-fill var(--beat) linear both; }
.g-story.is-held .g-bar i { animation-play-state: paused; }
/* Every caption sits in the same cell, so the list never jumps */
.g-story.is-live .g-cap {
  grid-row: 6;
  grid-column: 1;
  margin: 22px 0 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0s linear 0.45s;
}
.g-story.is-live .is-on > .g-cap {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

/* The phone */
.g-stage {
  display: flex;
  justify-content: center;
  padding: 12px 0;
}
.g-float {
  perspective: 1100px;
  animation: g-float 6s ease-in-out infinite;
}
.g-device {
  --rx: 6deg;
  --ry: -14deg;
  position: relative;
  width: 270px;
  height: 540px;
  padding: 50px 16px 18px;
  overflow: hidden;
  border: 1px solid #3d3d39;
  border-radius: 44px;
  background: #0b0b0a;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), inset 0 0 0 6px #151514;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.42;
  letter-spacing: -0.01em;
  transform: rotateY(var(--ry)) rotateX(var(--rx));
  transition: transform 0.8s var(--ease);
}
.g-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  width: 84px;
  height: 22px;
  margin-left: -42px;
  border-radius: 999px;
  background: #1b1b19;
}
.g-screen { display: none; }
.g-screen.is-on {
  display: block;
  animation: g-fade 0.35s ease both;
}
.g-who {
  display: block;
  margin-bottom: 12px;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8b8b86;
}
.g-amber {
  color: #ffb23e;
  letter-spacing: 1px;
}
.g-ava {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #2a2a28;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: #d9d9d4;
}
.g-app {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #222220;
  font-size: 13px;
}
.g-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.g-time {
  align-self: center;
  font-size: 10.5px;
  color: #8b8b86;
}
.g-msg {
  max-width: 86%;
  margin: 0;
  padding: 10px 13px;
  border-radius: 18px;
  animation: g-rise 0.5s var(--ease) both;
}
.g-them {
  align-self: flex-start;
  border-bottom-left-radius: 6px;
  background: #262624;
}
.g-us {
  align-self: flex-end;
  border-bottom-right-radius: 6px;
  background: #f4f4f1;
  color: #151514;
}
.g-link {
  position: relative;
  color: #ffcf85;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.g-later { animation-delay: 1.6s; }
.g-msg.g-still { animation: none; }
.g-ripple {
  position: absolute;
  left: 40%;
  top: 50%;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border-radius: 50%;
  background: rgba(255, 178, 62, 0.4);
  transform: scale(0);
  animation: g-tap 0.9s var(--ease) 0.5s both;
}
.g-sheet {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 16px;
  border: 1px solid #2f2f2c;
  border-radius: 24px;
  background: #1b1b19;
  transform: translateY(130%);
  animation: g-sheet 0.6s var(--ease) 1.3s both;
}
.g-url {
  display: block;
  font-size: 12px;
  color: #9a9a95;
}
.g-load {
  display: block;
  height: 3px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 2px;
  background: #2a2a28;
}
.g-load i {
  display: block;
  height: 100%;
  background: #ffb23e;
  transform: scaleX(0);
  transform-origin: 0 50%;
  animation: g-fill 1.6s var(--ease) 1.8s both;
}
.g-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 8px;
  text-align: center;
}
.g-ava-lg {
  width: 56px;
  height: 56px;
  font-size: 16px;
}
.g-biz {
  display: block;
  margin-top: 12px;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.g-sub {
  margin-top: 4px;
  font-size: 12px;
  color: #9a9a95;
}
.g-rate {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.g-rate svg {
  width: 28px;
  height: 28px;
  overflow: visible;
}
.g-rs {
  fill: transparent;
  stroke: #6b6b65;
  stroke-width: 1.3;
  stroke-linejoin: round;
  transform-box: fill-box;
  transform-origin: center;
  animation: g-rate 0.45s cubic-bezier(0.2, 0.9, 0.25, 1.5) both;
}
.g-rs1 { animation-delay: 0.4s; }
.g-rs2 { animation-delay: 0.55s; }
.g-rs3 { animation-delay: 0.7s; }
.g-rs4 { animation-delay: 0.85s; }
.g-rs5 { animation-delay: 1s; }
.g-field {
  width: 100%;
  min-height: 88px;
  margin-top: 20px;
  padding: 12px 14px;
  border: 1px solid #2f2f2c;
  border-radius: 14px;
  font-size: 13.5px;
  text-align: left;
  color: #d9d9d4;
}
.g-words span {
  opacity: 0;
  animation: g-show 0.01s linear both;
  animation-delay: calc(1.4s + var(--d) * 0.13s);
}
.g-post {
  display: inline-block;
  margin-top: 16px;
  padding: 9px 24px;
  border-radius: 999px;
  background: #ffb23e;
  color: #151514;
  font-size: 13px;
  font-weight: 500;
  animation: g-press 0.4s ease 3.2s both;
}
.g-done {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 18px;
  text-align: center;
}
.g-tick {
  width: 68px;
  height: 68px;
}
.g-tick circle,
.g-tick path {
  fill: none;
  stroke: #ffb23e;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.g-tick circle {
  stroke-width: 3;
  animation: g-draw 0.7s var(--ease) 0.2s forwards;
}
.g-tick path {
  stroke-width: 4;
  animation: g-draw 0.5s var(--ease) 0.8s forwards;
}
.g-done-t {
  margin-top: 14px;
  font-size: 18px;
  letter-spacing: -0.02em;
  animation: g-rise 0.5s var(--ease) 1s both;
}
.g-rcard {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #2f2f2c;
  border-radius: 16px;
  background: #121211;
  text-align: left;
  animation: g-rise 0.6s var(--ease) 1.3s both;
}
.g-rcard p {
  margin: 0;
  font-size: 13px;
  color: #d9d9d4;
}
.g-chead {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.g-chead b {
  display: block;
  font-size: 13px;
  font-weight: 500;
}
.g-chead .g-amber { font-size: 11px; }
.g-profile {
  padding: 4px 2px 14px;
  border-bottom: 1px solid #222220;
}
.g-profile .g-biz { margin-top: 0; }
.g-score {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 13px;
  color: #d9d9d4;
}
.g-roll {
  position: relative;
  display: inline-block;
  min-width: 5.6em;
  height: 1.45em;
  overflow: hidden;
  vertical-align: bottom;
}
.g-roll span {
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
}
.g-cA { animation: g-rollA 0.35s ease-in 1s both; }
.g-cB { animation: g-rollB 0.45s var(--ease) 1.05s both; }
.g-reply {
  margin-left: 18px;
  animation-delay: 2.1s;
}
.g-reply-l {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  color: #9a9a95;
}
.g-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #2f2f2c;
  border-radius: 999px;
  background: #151514;
  font-size: 14px;
}
.g-search svg {
  flex: none;
  width: 15px;
  height: 15px;
}
.g-type {
  display: inline-block;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  animation: g-type 1.3s steps(15, end) 0.3s forwards;
}
.g-caret {
  display: inline-block;
  flex: none;
  width: 2px;
  height: 18px;
  background: var(--text);
  animation: g-caret 1s steps(1, end) infinite;
}
.g-skel {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #232321;
  border-radius: 16px;
  animation: g-rise 0.5s var(--ease) both;
}
.g-k2 { animation-delay: 0.12s; }
.g-k3 { animation-delay: 0.24s; }
.g-sk {
  display: block;
  height: 9px;
  border-radius: 5px;
  background: linear-gradient(90deg, #1c1c1a 0, #30302d 50%, #1c1c1a 100%);
  background-size: 240px 100%;
  animation: g-shimmer 1.3s linear infinite;
}
.g-sk + .g-sk { margin-top: 9px; }
.g-map {
  height: 196px;
  overflow: hidden;
  border-radius: 18px;
  background: #141519;
}
.g-map svg {
  display: block;
  width: 100%;
  height: 100%;
}
.g-mroad {
  fill: none;
  stroke: #23252c;
  stroke-width: 7;
  stroke-linecap: round;
}
.g-mpin {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: g-pinfall 0.7s cubic-bezier(0.2, 0.9, 0.25, 1.2) both;
}
.g-mp2 { animation-delay: 0.15s; }
.g-mp3 { animation-delay: 0.3s; }
.g-mw { fill: #f4f4f1; }
.g-ma { fill: #ffb23e; }
.g-md { fill: #141519; }
.g-res {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #2f2f2c;
  border-radius: 16px;
  background: #121211;
  animation: g-rise 0.6s var(--ease) 0.7s both;
}
.g-res b {
  display: block;
  font-size: 15px;
  font-weight: 500;
}
.g-res .g-line {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  color: #d9d9d4;
}
.g-res .g-meta {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: #9a9a95;
}
.g-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ffb23e;
  color: #151514;
  font-size: 13px;
  font-weight: 500;
}
.g-btn svg {
  width: 13px;
  height: 13px;
}
.g-site {
  overflow: hidden;
  border-radius: 18px;
  background: #f4f4f1;
  color: #151514;
  animation: g-rise 0.5s var(--ease) both;
}
.g-site-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 500;
}
.g-site-bar span {
  padding: 4px 10px;
  border-radius: 999px;
  background: #151514;
  color: #f4f4f1;
  font-size: 11px;
}
.g-site-photo {
  display: block;
  width: 100%;
  height: 92px;
  background: #2b2f37;
}
.g-site-body { padding: 12px 12px 14px; }
.g-site-h {
  display: block;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.g-ticks {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.g-ticks li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 12px;
  animation: g-rise 0.45s var(--ease) both;
}
.g-ticks li:nth-child(1) { animation-delay: 0.5s; }
.g-ticks li:nth-child(2) { animation-delay: 0.9s; }
.g-ticks li:nth-child(3) { animation-delay: 1.3s; }
.g-ticks li:nth-child(4) { animation-delay: 1.7s; }
.g-ticks svg {
  flex: none;
  width: 14px;
  height: 14px;
}
.g-site .g-btn {
  animation: g-pulse 1.2s ease-in-out 2.2s 2;
}
.g-callcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 18px;
  text-align: center;
}
.g-cav {
  position: relative;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #262624;
  font-size: 20px;
}
.g-cring {
  position: absolute;
  inset: 0;
  border: 1.5px solid #ffb23e;
  border-radius: 50%;
  opacity: 0;
  animation: g-callring 1.8s ease-out 2 both;
}
.g-cring + .g-cring { animation-delay: 0.6s; }
.g-cring + .g-cring + .g-cring { animation-delay: 1.2s; }
.g-cn {
  position: relative;
  display: block;
  width: 100%;
  height: 1.5em;
  margin-top: 16px;
  overflow: hidden;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.g-cn span {
  position: absolute;
  right: 0;
  left: 0;
}
.g-cn .g-cA { animation-delay: 2s; }
.g-cn .g-cB { animation-delay: 2.05s; }
.g-cs {
  margin-top: 2px;
  font-size: 12px;
  color: #9a9a95;
}
.g-callcard + .g-thread { margin-top: 22px; }
.g-callcard + .g-thread .g-msg { animation-delay: 2.5s; }
.g-stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 30px;
}
.g-stars svg {
  width: 34px;
  height: 34px;
  fill: #ffb23e;
  animation: g-hop 0.55s cubic-bezier(0.2, 0.9, 0.25, 1.5) both;
}
.g-stars svg:nth-child(2) { animation-delay: 0.15s; }
.g-stars svg:nth-child(3) { animation-delay: 0.3s; }
.g-stars svg:nth-child(4) { animation-delay: 0.45s; }
.g-stars svg:nth-child(5) { animation-delay: 0.6s; }
.g-total {
  margin-top: 14px;
  font-size: 13px;
  text-align: center;
  color: #d9d9d4;
}
.g-total .g-roll { min-width: 4.8em; text-align: left; }
.g-quote2 {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: -0.02em;
  text-align: center;
  animation: g-rise 0.6s var(--ease) 1.4s both;
}

@keyframes g-twinkle { 0%, 100% { opacity: 0.2; } 50% { opacity: 1; } }
@keyframes g-dash { to { stroke-dashoffset: -200; } }
@keyframes g-flicker { 0%, 100% { opacity: 1; } 40% { opacity: 0.55; } 42% { opacity: 1; } 70% { opacity: 0.8; } }
@keyframes g-glow { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }
@keyframes g-sway { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
@keyframes g-smoke {
  0% { opacity: 0; transform: translate(0, 0) scale(0.5); }
  15% { opacity: 0.55; }
  100% { opacity: 0; transform: translate(10px, -50px) scale(2); }
}
/* Around the block: down-right, up-right, up-left, down-left */
@keyframes g-drive {
  0% { transform: translate(124px, 280px) rotate(26.57deg); }
  24.99% { transform: translate(400px, 418px) rotate(26.57deg); }
  25% { transform: translate(400px, 418px) rotate(-26.57deg); }
  49.99% { transform: translate(676px, 280px) rotate(-26.57deg); }
  50% { transform: translate(676px, 280px) rotate(-153.43deg); }
  74.99% { transform: translate(400px, 142px) rotate(-153.43deg); }
  75% { transform: translate(400px, 142px) rotate(153.43deg); }
  100% { transform: translate(124px, 280px) rotate(153.43deg); }
}
@keyframes g-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes g-ring { 0% { opacity: 0.75; transform: scale(0.4); } 80%, 100% { opacity: 0; transform: scale(3); } }
@keyframes g-pop {
  0% { opacity: 0; transform: translateY(14px) scale(0.7); }
  60% { opacity: 1; transform: translateY(-4px) scale(1.05); }
  100% { opacity: 1; transform: none; }
}
@keyframes g-starpop {
  0% { opacity: 0; transform: scale(0) rotate(-40deg); }
  60% { opacity: 1; transform: scale(1.45) rotate(8deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes g-plus { 0% { opacity: 0; transform: translateY(0); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-36px); } }
@keyframes g-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes g-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes g-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes g-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes g-show { to { opacity: 1; } }
@keyframes g-tap { 0% { opacity: 0.9; transform: scale(0); } 100% { opacity: 0; transform: scale(1.8); } }
@keyframes g-sheet { to { transform: none; } }
@keyframes g-rate {
  0% { fill: transparent; stroke: #6b6b65; transform: scale(1); }
  60% { transform: scale(1.35); }
  100% { fill: #ffb23e; stroke: #ffb23e; transform: scale(1); }
}
@keyframes g-press { 0%, 100% { transform: none; } 50% { transform: scale(0.94); } }
@keyframes g-draw { to { stroke-dashoffset: 0; } }
@keyframes g-rollA { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-14px); } }
@keyframes g-rollB { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes g-type { to { width: 8.2em; } }
@keyframes g-caret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes g-shimmer { from { background-position: -240px 0; } to { background-position: 240px 0; } }
@keyframes g-pinfall {
  0% { opacity: 0; transform: translateY(-34px); }
  70% { opacity: 1; transform: translateY(3px); }
  100% { opacity: 1; transform: none; }
}
@keyframes g-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes g-callring { 0% { opacity: 0.7; transform: scale(0.7); } 100% { opacity: 0; transform: scale(2.1); } }
@keyframes g-hop {
  0% { opacity: 0; transform: scale(0); }
  55% { opacity: 1; transform: scale(1.5); }
  100% { opacity: 1; transform: scale(1); }
}

@media (max-width: 900px) {
  .service-page .g-story {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .g-stage { order: -1; }
}
/* On a phone the words run on like a sentence under a slightly smaller
   phone, so the phone, the words and the caption fit on one screen. */
@media (max-width: 700px) {
  .g-device {
    width: 244px;
    height: 488px;
    padding: 46px 14px 16px;
    border-radius: 40px;
  }
  .g-stage {
    height: 444px;
    padding: 0;
    align-items: flex-start;
  }
  .g-float {
    scale: 0.86;
    transform-origin: 50% 0;
  }
  .g-map { height: 164px; }
  .g-cap { font-size: 16px; }
  .g-story.is-live .g-beats {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 2px 14px;
    padding-bottom: 100px;
  }
  .g-story.is-live .g-beat {
    width: auto;
    padding: 2px 0 4px;
    font-size: 28px;
    letter-spacing: -0.05em;
  }
  .g-story.is-live .g-bar {
    width: 100%;
    margin-top: 6px;
  }
  .g-story.is-live .g-cap {
    position: absolute;
    top: calc(100% - 88px);
    right: 0;
    left: 0;
    margin: 0;
  }
}

/* Nothing moves: the scene holds still with one review showing, and each
   step of the story shows its finished screen. */
@media (prefers-reduced-motion: reduce) {
  .g-scene *,
  .g-story *,
  .g-story *::before,
  .g-story *::after {
    animation: none !important;
    transition: none !important;
  }
  .g-scene .g-bub.is-on,
  .g-scene .g-bub.is-on .g-bstar { opacity: 1; }
  .g-scene .g-car { transform: translate(400px, 418px) rotate(-26.57deg); }
  .g-story .g-bar { display: none; }
  .g-story .g-type { width: 8.2em; }
  .g-story .g-words span { opacity: 1; }
  .g-story .g-sheet,
  .g-story .g-load i { transform: none; }
  .g-story .g-rs {
    fill: #ffb23e;
    stroke: #ffb23e;
  }
  .g-story .g-tick circle,
  .g-story .g-tick path { stroke-dashoffset: 0; }
  .g-story .g-cA,
  .g-story .g-cring,
  .g-story .g-ripple { opacity: 0; }
}

/* ==================================================================
   Dumbbell chart: a before and after for each row, here a host's
   first-term price and its renewal price. Grey is the first term,
   amber is what comes after. Every value is also in the table below
   the chart, and in each row's hidden text for screen readers.
   ================================================================== */
.g-vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.service-page .g-dumb {
  grid-column: 1 / -1;
  position: relative;
  margin: 12px 0 0;
  padding: clamp(24px, 3.5vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--hero-radius);
}
.g-dumb-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: 26px;
}
.g-dumb-t {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.g-dumb-s {
  display: block;
  max-width: 560px;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #9a9a95;
}
.g-legend {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: #b9b9b4;
}
.g-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.g-key {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.g-key-a,
.g-dot-a { background: #8b8b86; }
.g-key-b,
.g-dot-b { background: #ffb23e; }
.g-rows {
  margin: 0;
  padding: 0;
  list-style: none;
}
.g-row,
.g-axis {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 100px;
  align-items: center;
}
.g-row {
  position: relative;
  min-height: 58px;
  border-radius: 10px;
  transition: background 0.3s var(--ease);
}
.g-row:hover,
.g-row:focus-visible { background: #191918; }
.g-row:focus-visible { outline-offset: 2px; }
.g-name {
  padding-left: 12px;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.g-track {
  position: relative;
  align-self: stretch;
  border-right: 1px solid #2a2a28;
  background-image: linear-gradient(to right, #2a2a28 1px, transparent 1px);
  background-size: 33.333% 100%;
}
.g-span {
  position: absolute;
  top: 50%;
  left: var(--a);
  width: calc(var(--b) - var(--a));
  height: 2px;
  margin-top: -1px;
  border-radius: 1px;
  background: linear-gradient(to right, #8b8b86, #ffb23e);
  transform-origin: 0 50%;
  transition: transform 1s var(--ease) var(--delay, 0s);
}
.g-dot {
  position: absolute;
  top: 50%;
  left: var(--x);
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--bg);
  transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.25, 1.4) calc(var(--delay, 0s) + 0.8s),
    opacity 0.3s ease calc(var(--delay, 0s) + 0.8s), scale 0.25s var(--ease);
}
.g-dumb .g-row:hover .g-dot,
.g-dumb .g-row:focus-visible .g-dot { scale: 1.3; }
.g-val {
  position: absolute;
  top: 50%;
  left: var(--x);
  white-space: nowrap;
  font-size: 14px;
  color: var(--text);
  transform: translate(14px, -50%);
  transition: opacity 0.4s ease calc(var(--delay, 0s) + 1s);
}
.g-times {
  margin-left: 6px;
  font-size: 12px;
  color: #9a9a95;
}
/* guides.js adds is-ready, then is-in once the chart is in view, so
   without it the chart simply shows in full. */
.g-dumb.is-ready:not(.is-in) .g-span { transform: scaleX(0); }
.g-dumb.is-ready:not(.is-in) .g-dot-b {
  opacity: 0;
  transform: scale(0);
}
.g-dumb.is-ready:not(.is-in) .g-val { opacity: 0; }
.g-axis {
  margin-top: 10px;
  font-size: 11px;
  color: #8b8b86;
}
.g-axis .g-ticks-x {
  position: relative;
  grid-column: 2;
  height: 16px;
}
.g-ticks-x span {
  position: absolute;
  left: var(--x);
  transform: translateX(-50%);
  font-variant-numeric: tabular-nums;
}
.g-tip {
  position: absolute;
  z-index: 3;
  width: max-content;
  max-width: 280px;
  padding: 10px 12px;
  border: 1px solid #3d3d39;
  border-radius: 12px;
  background: #1b1b19;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  font-size: 12.5px;
  line-height: 1.45;
  color: #b9b9b4;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 12px));
}
.g-tip[hidden] { display: none; }
.g-tip strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.g-table { margin-top: 22px; }
.g-table summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  color: #cfcfca;
  cursor: pointer;
}
.g-table summary:hover { color: var(--text); }
.g-table-wrap {
  margin-top: 8px;
  overflow-x: auto;
}
.g-table table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.45;
}
.g-table th,
.g-table td {
  padding: 10px 14px 10px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-weight: 400;
  color: #b9b9b4;
}
.g-table thead th {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b8b86;
}
.g-table tbody th,
.g-table .g-num { color: var(--text); }
.g-table .g-num {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 700px) {
  .g-row,
  .g-axis { grid-template-columns: 86px minmax(0, 1fr) 70px; }
  .g-name {
    padding-left: 8px;
    font-size: 13px;
  }
  .g-val {
    font-size: 12.5px;
    line-height: 1.25;
    transform: translate(10px, -50%);
  }
  .g-times {
    display: block;
    margin: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .g-span,
  .g-dot,
  .g-val { transition: none !important; }
}
