/* Global Disparos page. Same tokens and square geometry as the main site, pushed to a
   darker "control room" palette: near-black, signal blue for data, gold for action.
   Pinned scenes and depth transitions only exist under html.gd-motion (js/gd.js). */

.gd-page {
  --gd-bg: #030818;
  --gd-panel: rgba(9, 18, 34, 0.72);
  --gd-line: rgba(124, 196, 255, 0.16);
  --gd-line-strong: rgba(124, 196, 255, 0.36);
  --gd-signal: #7cc4ff;
  --gd-sent: #4d8fe8;
  --gd-delivered: #f4f7fb;
  --gd-read: #7cc4ff;
  --gd-replied: #f6d688;
  --gd-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  background: var(--gd-bg);
}

/* Background field: a slow drift of points that streaks when the page scrolls fast. */
.gd-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.gd-page main,
.gd-page .site-footer {
  position: relative;
  z-index: 1;
}

.gd-page .site-footer {
  background: var(--gd-bg);
}

/* Shared pieces --------------------------------------------------------------------- */
.gd-section {
  position: relative;
  padding-block: clamp(5rem, 11vw, 9rem);
}

.gd-heading {
  display: grid;
  gap: var(--space-4);
  max-width: 46rem;
  margin-bottom: clamp(var(--space-8), 5vw, var(--space-16));
}

.gd-heading h2 {
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.gd-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0;
  color: var(--gd-signal);
  font-family: var(--gd-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gd-eyebrow b {
  padding: 0.15rem 0.4rem;
  color: var(--gd-bg);
  background: var(--gd-signal);
}

.gd-sub {
  max-width: 40rem;
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--text-lead);
  line-height: 1.6;
}

.gd-note {
  margin: var(--space-6) 0 0;
  color: var(--text-muted);
  font-family: var(--gd-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.gd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* Hero ----------------------------------------------------------------------------- */
.gd-hero {
  position: relative;
  overflow: clip;
}

.gd-hero-pin {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
}

.gd-globe {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}

/* Perspective floor grid, the "control room" ground line under the globe. */
.gd-hero-grid {
  position: absolute;
  inset: 55% -20% -10%;
  z-index: 0;
  background:
    linear-gradient(var(--gd-line) 1px, transparent 1px) 0 0 / 100% 3rem,
    linear-gradient(90deg, var(--gd-line) 1px, transparent 1px) 0 0 / 3rem 100%;
  transform: perspective(600px) rotateX(62deg);
  transform-origin: 50% 0;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, transparent 95%);
  mask-image: linear-gradient(180deg, transparent, #000 30%, transparent 95%);
  pointer-events: none;
}

.gd-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: var(--space-6);
  padding-block: calc(var(--header-height) + var(--space-8)) var(--space-16);
}

.gd-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin: 0;
  color: var(--text-secondary);
  font-family: var(--gd-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gd-kicker span {
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--accent-primary);
  color: var(--accent-primary-hover);
  font-weight: 700;
}

.gd-hero h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.gd-lead {
  max-width: 34rem;
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--text-lead);
  line-height: 1.6;
}

.gd-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
  margin: var(--space-4) 0 0;
  padding: var(--space-4) 0 0;
  border-top: 1px solid var(--gd-line);
  list-style: none;
  color: var(--text-secondary);
  font-family: var(--gd-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gd-legend li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.gd-legend i {
  width: 0.5rem;
  height: 0.5rem;
}

.gd-legend .is-sent { background: var(--gd-sent); }
.gd-legend .is-delivered { background: var(--gd-delivered); }
.gd-legend .is-read { background: var(--gd-read); }
.gd-legend .is-replied { background: var(--gd-replied); }

.gd-legend .gd-legend-note {
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0.02em;
}

.gd-scroll {
  position: absolute;
  left: 50%;
  bottom: var(--space-6);
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: var(--space-2);
  transform: translateX(-50%);
  color: var(--text-secondary);
  font-family: var(--gd-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gd-scroll i {
  position: relative;
  width: 1px;
  height: 2.4rem;
  overflow: hidden;
  background: var(--gd-line);
}

.gd-scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gd-signal);
  animation: cue-drop 2.2s var(--ease-standard) infinite;
}

/* Headline words rise out of their line, as on the home page. */
html.gd-motion .gd-hero h1 .word {
  display: inline-block;
  overflow: clip;
  overflow-clip-margin: 0.12em;
  vertical-align: top;
}

html.gd-motion .gd-hero h1 .word-in {
  display: inline-block;
  transform: translate3d(0, 108%, 0);
}

html.gd-motion .gd-hero.is-in h1 .word-in {
  transform: none;
  transition: transform 1s var(--ease-standard) calc(200ms + var(--i) * 60ms);
}

html.gd-motion .gd-hero .gd-kicker,
html.gd-motion .gd-hero .gd-actions,
html.gd-motion .gd-hero .gd-legend {
  opacity: 0;
  translate: 0 16px;
}

html.gd-motion .gd-hero.is-in .gd-kicker,
html.gd-motion .gd-hero.is-in .gd-actions,
html.gd-motion .gd-hero.is-in .gd-legend {
  opacity: 1;
  translate: none;
  transition: opacity 0.8s var(--ease-standard), translate 0.8s var(--ease-standard);
}

html.gd-motion .gd-hero.is-in .gd-actions { transition-delay: 0.85s; }
html.gd-motion .gd-hero.is-in .gd-legend { transition-delay: 1.1s; }

/* Pinned hero: scrolling flies the camera into the globe. */
html.gd-motion .gd-hero {
  height: 230svh;
}

html.gd-motion .gd-hero-pin {
  position: sticky;
  top: 0;
  height: 100svh;
}

html.gd-motion [data-gd-hero-copy] {
  will-change: transform, opacity;
}

/* Problem: cards stack on top of each other while the section scrolls. -------------- */
.gd-stack {
  display: grid;
  gap: var(--space-6);
  margin: 0;
  padding: 0;
  list-style: none;
}

.gd-stack-card {
  position: sticky;
  top: calc(var(--header-height) + var(--space-8));
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: var(--space-2) var(--space-6);
  min-height: 15rem;
  align-content: center;
  padding: clamp(var(--space-6), 4vw, var(--space-12));
  border: 1px solid var(--gd-line);
  border-left: 3px solid var(--gd-signal);
  background:
    linear-gradient(120deg, rgba(124, 196, 255, 0.08), transparent 45%),
    #081633;
  box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.45);
}

.gd-stack-card:nth-child(2) { top: calc(var(--header-height) + var(--space-12)); }
.gd-stack-card:nth-child(3) { top: calc(var(--header-height) + var(--space-16)); }

.gd-stack-index {
  grid-row: 1 / 3;
  color: var(--gd-signal);
  font-family: var(--gd-mono);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
}

.gd-stack-card h3 {
  max-width: 32ch;
  margin: 0;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.gd-stack-card p {
  max-width: 44rem;
  margin: 0;
  color: var(--text-secondary);
}

/* Steps: a horizontal track that the vertical scroll drives. ----------------------- */
.gd-steps {
  padding-block: 0;
}

.gd-steps-pin {
  padding-block: clamp(5rem, 9vw, 7rem);
}

.gd-track-wrap {
  overflow: hidden;
}

.gd-track {
  display: grid;
  gap: var(--space-6);
  margin: 0;
  padding: 0 max(var(--space-6), calc((100vw - var(--container)) / 2));
  list-style: none;
}

.gd-step {
  display: grid;
  gap: var(--space-8);
  align-content: start;
  padding: clamp(var(--space-6), 3vw, var(--space-10, 2.5rem));
  border: 1px solid var(--gd-line);
  background: var(--gd-panel);
}

.gd-step-copy {
  display: grid;
  gap: var(--space-3);
}

.gd-step-index {
  color: var(--accent-primary);
  font-family: var(--gd-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.gd-step h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.gd-step p {
  max-width: 34rem;
  margin: 0;
  color: var(--text-secondary);
}

/* Mini interfaces (illustrations, aria-hidden). */
.gd-ui {
  display: grid;
  gap: 0.4rem;
  padding: var(--space-4);
  border: 1px solid var(--gd-line-strong);
  background: #06112b;
  font-family: var(--gd-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.gd-ui-bar {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gd-line);
  color: var(--text-primary);
}

.gd-ui-bar b {
  color: var(--gd-signal);
  font-weight: 700;
}

.gd-ui-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr auto;
  gap: var(--space-3);
  padding: 0.35rem 0;
  border-bottom: 1px dashed var(--gd-line);
}

.gd-ui-row b {
  color: var(--success);
}

.gd-ui-row.is-dup {
  color: var(--text-muted);
  text-decoration: line-through;
}

.gd-ui-row.is-dup b {
  color: var(--accent-primary-hover);
  text-decoration: none;
}

.gd-ui-lists {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.gd-ui-lists span {
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--gd-line-strong);
}

.gd-ui-lists .is-on {
  color: var(--gd-bg);
  border-color: var(--gd-signal);
  background: var(--gd-signal);
}

.gd-ui-template p {
  margin: 0;
  padding: 0.7rem;
  line-height: 1.6;
}

.gd-ui-src {
  border: 1px dashed var(--gd-line-strong);
}

.gd-ui-src mark {
  padding: 0 0.2rem;
  color: var(--gd-bg);
  background: var(--accent-primary-hover);
}

.gd-ui-out {
  border-left: 3px solid var(--success);
  color: var(--text-primary);
  background: rgba(112, 189, 145, 0.08);
}

.gd-ui-progress {
  position: relative;
  height: 0.5rem;
  margin: 0.6rem 0;
  background: rgba(124, 196, 255, 0.1);
}

.gd-ui-progress i {
  position: absolute;
  inset: 0 38% 0 0;
  background: linear-gradient(90deg, var(--gd-sent), var(--gd-signal));
}

.gd-ui-buttons {
  display: flex;
  gap: 0.5rem;
}

.gd-ui-buttons span {
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--gd-line-strong);
  color: var(--text-primary);
}

@media (min-width: 861px) and (min-height: 600px) {
  /* Wide screens: the four steps sit side by side on one long track. */
  html.gd-motion .gd-steps {
    height: 320svh;
  }

  html.gd-motion .gd-steps-pin {
    position: sticky;
    top: 0;
    display: grid;
    height: 100svh;
    align-content: center;
    padding-block: calc(var(--header-height) + var(--space-4)) var(--space-6);
  }

  html.gd-motion .gd-steps .gd-heading {
    margin-bottom: var(--space-8);
  }

  html.gd-motion .gd-track {
    display: flex;
    width: max-content;
    will-change: transform;
  }

  html.gd-motion .gd-step {
    width: min(78vw, 46rem);
    min-height: min(56svh, 30rem);
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

/* Trace: one message token walks the pipeline as the section scrolls. -------------- */
.gd-trace-inner {
  display: grid;
  gap: var(--space-4);
}

.gd-pipe {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  border: 1px solid var(--gd-line);
  list-style: none;
}

.gd-pipe li {
  position: relative;
  display: grid;
  gap: var(--space-2);
  padding: clamp(var(--space-6), 3vw, var(--space-12)) var(--space-6);
  border-right: 1px solid var(--gd-line);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-muted);
  transition: color var(--duration-base) ease, background var(--duration-base) ease;
}

.gd-pipe li:last-of-type {
  border-right: 0;
}

.gd-pipe li span {
  font-family: var(--gd-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.gd-pipe li.is-on {
  color: var(--text-primary);
  background: rgba(124, 196, 255, 0.06);
}

.gd-pipe li:nth-of-type(1).is-on span { color: var(--gd-sent); }
.gd-pipe li:nth-of-type(2).is-on span { color: var(--gd-delivered); }
.gd-pipe li:nth-of-type(3).is-on span { color: var(--gd-read); }
.gd-pipe li:nth-of-type(4).is-on { background: rgba(246, 214, 136, 0.1); }
.gd-pipe li:nth-of-type(4).is-on span { color: var(--gd-replied); }

.gd-pipe-token {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 25%;
  height: 3px;
  background: var(--gd-signal);
  box-shadow: 0 0 18px var(--gd-signal);
  transform-origin: left;
}

html:not(.gd-motion) .gd-pipe li {
  color: var(--text-primary);
}

html:not(.gd-motion) .gd-pipe-token {
  width: 100%;
}

@media (min-width: 861px) and (min-height: 600px) {
  html.gd-motion .gd-trace {
    height: 220svh;
    padding-block: 0;
  }

  html.gd-motion .gd-trace-pin {
    position: sticky;
    top: 0;
    display: grid;
    height: 100svh;
    align-content: center;
  }
}

/* Criteria table --------------------------------------------------------------------- */
.gd-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--gd-line);
}

.gd-table {
  width: 100%;
  min-width: 44rem;
  border-collapse: collapse;
  font-size: var(--text-small);
}

.gd-table th,
.gd-table td {
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--gd-line);
  text-align: left;
  vertical-align: top;
}

.gd-table thead th {
  color: var(--text-muted);
  font-family: var(--gd-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gd-table tbody th {
  width: 30%;
  color: var(--text-primary);
  font-weight: 750;
}

.gd-table td {
  color: var(--text-muted);
}

.gd-table .is-us {
  color: var(--text-primary);
  background: rgba(124, 196, 255, 0.06);
}

.gd-table thead .is-us {
  color: var(--gd-bg);
  background: var(--gd-signal);
}

.gd-table tbody td.is-us {
  border-left: 1px solid var(--gd-line-strong);
  border-right: 1px solid var(--gd-line-strong);
}

.gd-table tbody td.is-us::before {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.6rem;
  background: var(--gd-signal);
  vertical-align: 0.05em;
}

/* Result chain ---------------------------------------------------------------------- */
.gd-chain {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--gd-line);
}

.gd-chain li {
  position: relative;
  display: grid;
  gap: var(--space-3);
  align-content: start;
  padding: var(--space-8) var(--space-8) var(--space-8) 0;
}

.gd-chain li + li {
  padding-left: var(--space-8);
  border-left: 1px solid var(--gd-line);
}

.gd-chain span {
  color: var(--accent-primary);
  font-family: var(--gd-mono);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
}

.gd-chain h3 {
  margin: 0;
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.gd-chain p {
  margin: 0;
  color: var(--text-secondary);
}

.gd-result-close {
  max-width: 44rem;
  margin: var(--space-12) 0 0;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.gd-note-wide {
  max-width: 44rem;
}

/* Final call ------------------------------------------------------------------------ */
.gd-cta {
  overflow: hidden;
  border-top: 1px solid var(--gd-line);
  background:
    radial-gradient(ellipse 50% 70% at 50% 100%, rgba(124, 196, 255, 0.16), transparent 70%),
    transparent;
}

.gd-cta-inner {
  display: grid;
  justify-items: center;
  gap: var(--space-6);
  text-align: center;
}

.gd-cta h2 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.gd-cta .gd-actions {
  justify-content: center;
}

/* Depth transition: each section comes up from further away and settles. */
html.gd-motion [data-gd-depth] > .container {
  will-change: transform, opacity;
}

/* Responsive ------------------------------------------------------------------------ */
@media (max-width: 860px) {
  .gd-stack-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .gd-stack-index {
    grid-row: auto;
  }

  .gd-step {
    grid-template-columns: 1fr;
  }

  .gd-pipe {
    grid-template-columns: repeat(2, 1fr);
  }

  .gd-pipe li:nth-of-type(2) {
    border-right: 0;
  }

  .gd-pipe li:nth-of-type(-n + 2) {
    border-bottom: 1px solid var(--gd-line);
  }

  .gd-pipe-token {
    display: none;
  }

  .gd-chain {
    grid-template-columns: 1fr;
  }

  .gd-chain li,
  .gd-chain li + li {
    padding: var(--space-6) 0;
    border-left: 0;
    border-bottom: 1px solid var(--gd-line);
  }

  .gd-hero-grid {
    inset: 62% -40% -10%;
  }

  .gd-scroll {
    display: none;
  }
}

/* Pause for the looping globe and field (WCAG 2.2.2). */
.gd-pause {
  position: absolute;
  right: max(var(--space-6), calc((100vw - var(--container)) / 2));
  bottom: var(--space-6);
  z-index: 3;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--gd-line-strong);
  color: var(--text-secondary);
  background: rgba(3, 8, 24, 0.6);
  font-family: var(--gd-mono);
  font-size: 0.68rem;
  cursor: pointer;
}

.gd-pause:hover,
.gd-pause[aria-pressed="true"] {
  color: var(--text-primary);
  border-color: var(--gd-signal);
}

html:not(.gd-motion) .gd-pause {
  display: none;
}

/* Labels follow the site's type system: display font, sentence case, no boxed badge. */
.gd-eyebrow,
.gd-kicker,
.gd-legend,
.gd-scroll,
.gd-table thead th,
.gd-note,
.gd-step-index,
.gd-pipe li span {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  text-transform: none;
}

.gd-eyebrow,
.gd-kicker {
  font-size: 0.85rem;
  font-weight: 500;
}

.gd-kicker span {
  padding: 0;
  border: 0;
  color: var(--accent-primary-hover);
  font-weight: 600;
}

/* After the send: flows, automations, CRM, history. -------------------------------- */
.gd-after-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.gd-after-card {
  display: grid;
  align-content: start;
  gap: var(--space-4);
  padding: clamp(var(--space-6), 3vw, var(--space-8));
  border: 1px solid var(--gd-line);
  border-radius: var(--radius-lg);
  background: var(--gd-panel);
}

.gd-after-card h3 {
  margin: 0;
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
}

.gd-after-card p {
  margin: 0;
  color: var(--text-secondary);
}

.gd-flow {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.gd-flow li {
  position: relative;
  padding: 0.55rem 0.8rem 0.55rem 2.3rem;
  border: 1px solid var(--gd-line-strong);
  border-radius: var(--radius-sm);
  background: #06112b;
  font-size: var(--text-small);
  counter-increment: flow;
}

.gd-flow li::before {
  content: counter(flow);
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gd-signal);
  font-weight: 700;
}

.gd-rule {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 0.8rem;
  align-items: center;
  padding: 0.9rem;
  border: 1px solid var(--gd-line-strong);
  border-radius: var(--radius-md);
  background: #06112b;
  font-size: var(--text-small);
}

.gd-rule span {
  color: var(--gd-signal);
  font-weight: 700;
}

.gd-kanban {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
}

.gd-kanban span {
  padding: 0.6rem 0.4rem 2.2rem;
  border: 1px solid var(--gd-line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #06112b, rgba(124, 196, 255, 0.06));
  font-size: 0.75rem;
  text-align: center;
}

.gd-kanban span:last-child {
  border-color: rgba(246, 214, 136, 0.45);
}

.gd-after-big {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.gd-after-big b {
  color: var(--accent-primary-hover);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1;
}

@media (max-width: 860px) {
  .gd-after-grid {
    grid-template-columns: 1fr;
  }
}

/* Kicker reads as one sentence. */
.gd-kicker {
  display: block;
}

/* Phones: animation on top, text below; the comparison becomes stacked cards. ------- */
@media (max-width: 860px) {
  .gd-hero-inner {
    padding-top: calc(72px + 38svh);
  }

  .gd-hero-grid {
    inset: 30svh -40% auto;
    height: 30svh;
  }

  .gd-pause {
    top: calc(var(--header-height) + 0.5rem);
    right: 1rem;
    bottom: auto;
  }
}

@media (max-width: 720px) {
  .gd-table-wrap {
    overflow: visible;
    border: 0;
  }

  .gd-table {
    min-width: 0;
  }

  .gd-table thead {
    display: none;
  }

  .gd-table,
  .gd-table tbody,
  .gd-table tr,
  .gd-table th,
  .gd-table td {
    display: block;
    width: 100%;
  }

  .gd-table tr {
    margin-bottom: var(--space-3);
    overflow: hidden;
    border: 1px solid var(--gd-line);
    border-radius: var(--radius-md);
    background: var(--gd-panel);
  }

  .gd-table tbody th {
    width: auto;
    padding: var(--space-4) var(--space-4) var(--space-2);
    border: 0;
    font-size: 1rem;
  }

  .gd-table td {
    padding: var(--space-2) var(--space-4) var(--space-4);
    border: 0;
  }

  .gd-table tbody td.is-us {
    padding-top: var(--space-3);
    border: 0;
    border-top: 1px solid var(--gd-line);
    border-bottom: 1px solid var(--gd-line);
  }

  .gd-table td::before {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
  }

  .gd-table tbody td.is-us::before {
    content: "Global Disparos";
    width: auto;
    height: auto;
    margin-right: 0;
    background: none;
    color: var(--gd-signal);
  }

  .gd-table td:not(.is-us)::before {
    content: "Envio manual pelo celular";
  }

  .gd-table td:not(.is-us) {
    padding-top: var(--space-3);
  }
}

@media (max-width: 720px) {
  .gd-table tbody td.is-us::before {
    display: block;
    margin-bottom: 0.2rem;
  }
}

/* CRM Kanban example (js/kanban.js). ------------------------------------------------ */
.gd-board {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-4);
  border: 1px solid var(--gd-line);
  border-radius: var(--radius-lg);
  background: var(--gd-panel);
}

.gd-board-bar {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 0 var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-small);
  font-weight: 600;
}

.gd-board-hint {
  color: var(--text-muted);
  font-weight: 500;
}

.gd-board-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
}

.gd-col {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 15rem;
  padding: var(--space-3);
  border: 1px solid var(--gd-line);
  border-radius: var(--radius-md);
  background: #06112b;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.gd-col.is-over {
  border-color: var(--gd-signal);
  background: rgba(124, 196, 255, 0.08);
}

.gd-col header {
  display: grid;
  gap: 0.15rem;
  margin-bottom: var(--space-3);
}

.gd-col header b {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
}

.gd-col header span {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.gd-col-won header b {
  color: var(--accent-primary-hover);
}

.gd-col ul {
  display: grid;
  align-content: start;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.gd-deal {
  position: relative;
  display: grid;
  gap: 0.1rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--gd-line-strong);
  border-radius: var(--radius-sm);
  background: #0b1a3d;
  font-size: 0.8rem;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.gd-deal strong { font-family: var(--font-display); font-size: 0.88rem; font-weight: 600; }
.gd-deal span { color: var(--text-muted); }
.gd-deal em { color: var(--accent-primary-hover); font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }

.gd-deal.is-lifted { opacity: 0.35; }

.gd-deal.is-ghost {
  position: fixed;
  z-index: 300;
  pointer-events: none;
  cursor: grabbing;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  transform: rotate(-2deg);
}

.gd-deal.is-arrived {
  animation: deal-arrive 0.55s var(--ease-standard);
}

@keyframes deal-arrive {
  from { opacity: 0; transform: translateY(-10px) scale(0.96); box-shadow: 0 0 0 2px var(--gd-signal); }
}

.gd-deal-move {
  position: absolute;
  right: 0.4rem;
  bottom: 0.4rem;
  display: flex;
  gap: 0.25rem;
}

.gd-deal-move button {
  width: 1.6rem;
  height: 1.6rem;
  padding: 0;
  border: 1px solid var(--gd-line-strong);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  background: transparent;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.gd-deal-move button:hover,
.gd-deal-move button:focus-visible {
  color: var(--gd-bg);
  background: var(--gd-signal);
}

.gd-col:first-child [data-dir="prev"],
.gd-col:last-child [data-dir="next"] {
  visibility: hidden;
}

/* Features: compact two-line items. ------------------------------------------------ */
.gd-feat {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.gd-feat li {
  display: grid;
  gap: 0.25rem;
  padding: var(--space-4);
  border: 1px solid var(--gd-line);
  border-radius: var(--radius-md);
  background: var(--gd-panel);
}

.gd-feat b {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
}

.gd-feat b::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.5rem;
  border-radius: 2px;
  background: var(--gd-signal);
  vertical-align: 0.12em;
}

.gd-feat span {
  color: var(--text-muted);
  font-size: var(--text-small);
}

/* Help desk (FAQ). ------------------------------------------------------------------ */
.gd-sac-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: start;
}

.gd-sac .gd-heading {
  position: sticky;
  top: calc(var(--header-height) + var(--space-6));
  margin-bottom: 0;
}

.btn-whatsapp {
  justify-self: start;
  color: #fff;
  background: #1fcf72;
}

.btn-whatsapp svg {
  width: 1.15rem;
  height: 1.15rem;
}

.btn-whatsapp:hover {
  background: #18b962;
}

.gd-faq {
  border-top: 1px solid var(--gd-line);
}

.gd-faq-item {
  border-bottom: 1px solid var(--gd-line);
}

.gd-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 3.6rem;
  font-family: var(--font-display);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.gd-faq-item summary::-webkit-details-marker { display: none; }

.gd-faq-item summary::after {
  content: "+";
  color: var(--gd-signal);
  font-size: 1.3rem;
  transition: transform var(--duration-base) var(--ease-standard);
}

.gd-faq-item[open] summary::after { transform: rotate(45deg); }

.gd-faq-item p {
  max-width: 40rem;
  margin: 0;
  padding: 0 var(--space-8) var(--space-4) 0;
  color: var(--text-secondary);
  font-size: var(--text-small);
}

@media (max-width: 1080px) {
  .gd-feat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gd-board-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .gd-sac-inner { grid-template-columns: 1fr; }
  .gd-sac .gd-heading { position: static; }
  .gd-board-hint { display: none; }
}

@media (max-width: 560px) {
  .gd-feat { grid-template-columns: 1fr; }
  .gd-col { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .gd-deal.is-arrived { animation: none; }
}

/* Narrow columns: the arrows sit on their own row under the value. */
@media (max-width: 1080px) {
  .gd-deal-move {
    position: static;
    justify-content: flex-end;
    margin-top: 0.35rem;
  }
}

/* Phones: the pause control sits at the foot of the globe band, clear of the header. */
@media (max-width: 860px) {
  .gd-pause {
    top: calc(72px + 38svh - 2.4rem);
    right: 1rem;
    bottom: auto;
    background: rgba(3, 8, 24, 0.75);
  }
}
