/* Where are you starting from: three situations in the buyer's words, each opening the offer that answers it.
   Pure CSS like the hero: a hidden radio before each quote holds the choice, so a click, a tap or the keyboard picks
   one without JavaScript. Wide screens: quotes on the left, the chosen offer on the right. Narrow: the offer opens
   under its quote. Dot colour #c9d3ea and line-soft #a8bcf0 are not in the design system yet (as in hero-layers.css). */
.gl-start { --line-soft: #a8bcf0; --dots: #c9d3ea;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); margin: 0; padding: 0; min-width: 0;
  border: 1px solid var(--hairline); border-radius: var(--radius-xl); overflow: hidden; background: var(--card); }
.gl-start__radio { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }

/* The quotes */
.gl-start__quote { grid-column: 1; display: grid; align-content: start; gap: var(--space-2); padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--hairline); cursor: pointer; transition: background-color 150ms ease; }
.gl-start__quote:nth-of-type(1) { grid-row: 1; }
.gl-start__quote:nth-of-type(2) { grid-row: 2; }
.gl-start__quote:nth-of-type(3) { grid-row: 3; border-bottom: 0; }
.gl-start__quote q { font: 500 19px/1.3 var(--font-heading); letter-spacing: -.005em; color: var(--ink-2); quotes: "\201C" "\201D"; transition: color 150ms ease; }
.gl-start__quote span { font-size: 14px; color: var(--muted); }
.gl-start__quote:hover q { color: var(--ink); }
.gl-start__radio:checked + .gl-start__quote { background: var(--wash); }
.gl-start__radio:checked + .gl-start__quote q { color: var(--ink); }
.gl-start__radio:checked + .gl-start__quote span { color: var(--blue); font-weight: 600; }
.gl-start__radio:focus-visible + .gl-start__quote { outline: 2px solid var(--blue); outline-offset: -4px; }

/* The offers: all three share the right column; only the chosen one shows, so the box never changes height. */
.gl-start__offer { grid-column: 2; grid-row: 1 / span 3; visibility: hidden; display: grid; align-content: start; gap: var(--space-3);
  padding: var(--space-6); border-left: 1px solid var(--hairline);
  background-color: var(--canvas); background-image: radial-gradient(var(--dots) 1px, transparent 1px); background-size: 16px 16px; }
.gl-start__radio:checked + .gl-start__quote + .gl-start__offer { visibility: visible; }
.gl-start__offer .gl-h3 { margin: 0; }
.gl-start__offer > p { margin: 0; color: var(--ink-2); max-width: 32em; }
.gl-start__parts { margin: var(--space-3) 0 0; padding: var(--space-5); list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4);
  background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius-lg); box-shadow: 0 8px 24px rgba(15, 31, 61, .06); }
.gl-start__parts li { display: grid; align-content: start; gap: var(--space-1); padding-top: var(--space-2); border-top: 2px solid var(--line-soft); font-size: 14px; color: var(--ink-2); }
.gl-start__parts b { color: var(--ink); }



/* The nudge: a light blue strip with the secondary button; the solid blue button stays in the hero and the nav. */
.gl-nudge { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-6);
  padding: var(--space-5) var(--space-6); background: var(--wash); border-radius: var(--radius-lg); }
.gl-nudge p { margin: 0; font: 500 19px/1.3 var(--font-heading); color: var(--ink); }

@media (max-width: 899px) {
  .gl-start { grid-template-columns: minmax(0, 1fr); }
  .gl-start__quote, .gl-start__quote:nth-of-type(n) { grid-row: auto; padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--hairline); }
  .gl-start__offer { grid-column: 1; grid-row: auto; display: none; border-left: 0; border-bottom: 1px solid var(--hairline); padding: var(--space-5); }
  .gl-start__radio:checked + .gl-start__quote + .gl-start__offer { display: grid; }
  .gl-start > :last-child { border-bottom: 0; }
  .gl-start__parts { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .gl-start__quote, .gl-start__quote q { transition: none; }
}
@media (min-width: 1400px) {
  .gl-start__quote q { font-size: 23px; }
  .gl-start__quote span, .gl-start__parts li { font-size: 16px; }
  .gl-start__offer > p { font-size: 18px; }
  .gl-nudge p { font-size: 22px; }
}
@media (max-width: 899px) {
  .gl-start__quote:nth-of-type(3) { border-bottom: 0; }
  .gl-start__radio:checked + .gl-start__quote:nth-of-type(3) { border-bottom: 1px solid var(--hairline); }
}

/* Phones: all three questions start closed (start.js) so none gets pushed out of sight; a chevron on each shows it opens,
   and turns when it does. The hint only shows here. */
.gl-start__hint { display: none; }
@media (max-width: 899px) {
  .gl-start__hint { display: block; margin: calc(-1 * var(--space-2)) 0 var(--space-4); font-size: 14px; color: var(--muted); }
  .gl-start__quote { grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-3); }
  .gl-start__quote q, .gl-start__quote span { grid-column: 1; }
  .gl-start__quote::after { content: ""; grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 9px; height: 9px;
    border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); rotate: 45deg; translate: 0 -3px; transition: rotate 200ms ease; }
  .gl-start__radio:checked + .gl-start__quote::after { rotate: 225deg; translate: 0 3px; border-color: var(--blue); }
}
@media (max-width: 899px) and (prefers-reduced-motion: reduce) {
  .gl-start__quote::after { transition: none; }
}
