/* The Limber Protocol — page styles on top of the Soft Acro Aaron component styles (ds/softacro/components/bundle.css). */
:root {
  --cloud:#F6FAFE; --surface:#FFFFFF; --sky:#DEEFFD; --sky-strong:#C3DDF3; --line:#CFE2F3; --line-strong:#5E86AA; --dots:#8DB8DD;
  --ink:#0F2A43; --ink-muted:#3E5A73; --blue:#2B6197; --blue-strong:#1F4C79; --on-blue:#FFFFFF;
  --signal:#EB6D38; --signal-hover:#F3844F; --signal-bold:#DA5B26; --signal-ink:#B04418; --on-signal:#0F2A43;
  --peach:#FDEBDF; --success:#1D7555; --danger:#B42318; --focus:#2B6197;
  --font-display: Jost, "Futura PT", Futura, "Century Gothic", sans-serif;
  --font-text: Figtree, "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-hand: Caveat, "Bradley Hand", "Segoe Print", cursive;
  --space-1:4px; --space-2:8px; --space-3:12px; --space-4:16px; --space-5:24px; --space-6:32px; --space-7:48px; --space-8:72px; --space-9:112px;
  --radius-sm:10px; --radius-md:16px; --radius-lg:24px; --radius-xl:40px; --radius-full:999px;
  --shadow-card: 0 1px 2px #0f2a430d, 0 12px 32px -14px #0f2a4333;
  --shadow-float: 0 2px 6px #0f2a4314, 0 24px 48px -18px #0f2a4340;
  --focus-ring: 0 0 0 3px #F6FAFE, 0 0 0 6px #2B6197;
  --stroke-hand:5px; --stroke-control:2px;
}

.g-page { background: var(--cloud); color: var(--ink); font-family: var(--font-text); font-size: 18px; line-height: 28px; min-height: 100%; padding-bottom: 8px; }
.g-wrap { max-width: 880px; margin: 0 auto; padding: 0 32px; box-sizing: border-box; }
.g-wrap-wide { max-width: 1120px; }

/* nav */
.g-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; }
.g-nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.g-nav-links a { font: 650 15px/1 var(--font-text); color: var(--blue); text-decoration: none; padding: 0 18px; border-radius: var(--radius-full); box-shadow: inset 0 0 0 2px var(--line); min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; }
.g-nav-links a:hover { color: var(--blue-strong); box-shadow: inset 0 0 0 2px var(--blue); }
.g-nav-links a.on { background: var(--blue); color: var(--on-blue); box-shadow: none; }

/* path hero */
.g-hero { background: var(--sky); border-radius: var(--radius-xl); padding: 40px 48px; display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 24px; align-items: center; }
.g-hero h1 { font: 600 44px/48px var(--font-display); letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.g-hero .g-lead { font-size: 19px; line-height: 29px; color: var(--ink-muted); margin: 14px 0 0; max-width: 520px; }
.g-hero-img { width: 100%; max-width: 220px; justify-self: center; }

/* sections */
.g-sec { padding-top: 56px; }
.g-sec h2 { display: flex; align-items: center; gap: 12px; font: 600 30px/36px var(--font-display); letter-spacing: -0.01em; margin: 0 0 20px; }
.g-sec h2 .g-k { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: var(--on-blue); display: inline-grid; place-items: center; font: 600 17px/1 var(--font-display); }
.g-card { background: var(--surface); border-radius: var(--radius-lg); padding: 28px 32px; box-shadow: var(--shadow-card); }

/* why it works: one unit */
.g-why-main { margin: 0; font: 500 23px/32px var(--font-display); color: var(--ink); text-wrap: pretty; }
.g-why-main b { font-weight: 600; color: var(--blue); }
.g-why-list { list-style: none; margin: 20px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; }
.g-why-list li { font-size: 16px; line-height: 24px; color: var(--ink-muted); }
.g-why-list b { display: block; font: 600 19px/26px var(--font-display); color: var(--ink); margin-bottom: 2px; }
.g-ref { font: 650 12px/1 var(--font-text); color: var(--blue); text-decoration: none; vertical-align: super; margin-left: 1px; }
.g-ref:hover { text-decoration: underline; }

/* dose: one strip */
.g-dose { background: var(--sky); border-radius: var(--radius-lg); padding: 24px 32px; }
.g-dose-row { display: flex; flex-wrap: wrap; gap: 8px 40px; }
.g-dose-row span { font: 600 17px/24px var(--font-display); color: var(--ink-muted); }
.g-dose-row b { font: 700 34px/40px var(--font-display); color: var(--blue); letter-spacing: -0.02em; margin-right: 6px; }
.g-dose p { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--sky-strong); font-size: 16px; line-height: 24px; color: var(--ink-muted); }
.g-dose p b { color: var(--ink); font-weight: 650; }

/* steps */
.g-setup-line { margin: 0 0 24px; font-size: 16px; line-height: 24px; color: var(--ink-muted); }
.g-setup-line b { color: var(--ink); font-weight: 650; }
.g-steps-card .sa-steps::before { bottom: 20px; }
.g-steps-card .sa-step { padding-bottom: 20px; }
.g-steps-card .sa-step:last-child { padding-bottom: 0; }
.g-steps-card .sa-pin { background: var(--surface); }
.g-steps-card .sa-step h3 { font-size: 20px; line-height: 26px; margin: 6px 0 2px; }
.g-steps-card .sa-step p { font-size: 16px; line-height: 24px; }
.g-earn { margin-top: 16px; }

/* stuck: if → do */
.g-if { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 24px; }
.g-if td { padding: 12px 0; border-top: 1px solid var(--line); vertical-align: top; }
.g-if tr:first-child td { border-top: 0; padding-top: 0; }
.g-if td:first-child { width: 46%; padding-right: 24px; font-weight: 650; color: var(--ink); }
.g-if td:last-child { color: var(--ink-muted); }
.g-if tr.g-stop td:first-child { color: var(--danger); }

/* research */
.g-refs { margin: 0; padding: 0 0 0 20px; font-size: 14px; line-height: 21px; color: var(--ink-muted); display: grid; gap: 6px; }
.g-refs a { color: var(--blue); }

/* continuum: always left to right, tight · limber · loose */
.g-cx-wrap { background: var(--sky); border-radius: var(--radius-xl); padding: 48px 48px 40px; }
.g-cx-title { font: 600 48px/52px var(--font-display); letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.g-cx-lead { font-size: 19px; line-height: 30px; color: var(--ink-muted); margin: 12px 0 0; max-width: 640px; }
.g-cx { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.g-cx::before { content: ""; position: absolute; left: 16.6%; right: 16.6%; top: 18px; height: 8px; background: radial-gradient(circle, var(--dots) 3px, transparent 3.6px) left center / 16px 8px repeat-x; }
.g-cx-col { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; min-width: 0; }
.g-cx-tag { position: relative; height: 44px; padding: 0 24px; border-radius: var(--radius-full); background: var(--surface); box-shadow: inset 0 0 0 2px var(--blue); color: var(--blue); font: 600 20px/44px var(--font-display); white-space: nowrap; }
.g-cx-goal .g-cx-tag { background: var(--signal); color: var(--on-signal); box-shadow: 0 0 0 6px var(--sky); }
.g-cx-card { width: 100%; box-sizing: border-box; background: var(--surface); border-radius: var(--radius-lg); padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-card); }
.g-cx-goal .g-cx-card { box-shadow: 0 0 0 2px var(--signal), var(--shadow-card); }
.g-cx-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.g-cx-pics figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; }
.g-cx-pics img { width: 100%; height: 96px; object-fit: contain; }
.g-cx-pics figcaption { font: 650 11px/14px var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.g-gauge { position: relative; height: 14px; border-radius: var(--radius-full); background: var(--cloud); box-shadow: inset 0 0 0 1px var(--line); }
.g-gauge-passive, .g-gauge-active { position: absolute; left: 0; top: 0; height: 14px; border-radius: var(--radius-full); }
.g-gauge-passive { background: repeating-linear-gradient(-45deg, var(--sky-strong) 0 5px, var(--sky) 5px 10px); box-shadow: inset 0 0 0 1.5px var(--dots); }
.g-gauge-active { background: var(--blue); }
.g-gauge-mark { position: absolute; top: -6px; width: 4px; height: 26px; border-radius: 2px; background: var(--ink); box-shadow: 0 0 0 2px var(--surface); }
.g-legend .g-l-mark { width: 4px; height: 18px; border-radius: 2px; background: var(--ink); }
.g-cx-line { margin: 0; font: 600 17px/22px var(--font-display); color: var(--ink); text-wrap: balance; }
.g-cx-sub { margin: -6px 0 0; font-size: 15px; line-height: 21px; color: var(--ink-muted); text-wrap: balance; }
.g-cx-down { width: 16px; height: 36px; color: var(--blue); }
.g-cx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: var(--radius-full); background: var(--blue); color: var(--on-blue); font: 650 18px/1 var(--font-text); text-decoration: none; box-shadow: var(--shadow-card); transition: background-color .15s ease, transform .15s ease; }
.g-cx-btn:hover { background: var(--blue-strong); color: var(--on-blue); transform: translateY(-1px); }
.g-cx-goal .g-cx-btn { background: var(--signal); color: var(--on-signal); }
.g-cx-goal .g-cx-btn:hover { background: var(--signal-hover); color: var(--on-signal); }
.g-cx-btn svg { width: 26px; height: 10px; flex: none; transition: transform .2s ease; }
.g-cx-btn:hover svg { transform: translateX(4px); }
.g-cx-btn:active { transform: translateY(1px) scale(.98); }
.g-cx-btn:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
/* affordance: a short attention cue on load, then it stops */
@keyframes g-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@keyframes g-ring-blue { 0% { box-shadow: 0 0 0 0 #2b619773, var(--shadow-card); } 100% { box-shadow: 0 0 0 14px #2b619700, var(--shadow-card); } }
@keyframes g-ring-orange { 0% { box-shadow: 0 0 0 0 #eb6d3880, var(--shadow-card); } 100% { box-shadow: 0 0 0 14px #eb6d3800, var(--shadow-card); } }
.g-cx-down { animation: g-nudge 1.1s ease-in-out .6s 4; }
.g-cx-btn { animation: g-ring-blue 1.4s ease-out 1s 4; }
.g-cx-goal .g-cx-btn { animation-name: g-ring-orange; }
.g-cx-col:nth-child(2) .g-cx-down { animation-delay: .75s; }
.g-cx-col:nth-child(2) .g-cx-btn { animation-delay: 1.15s; }
.g-cx-col:nth-child(3) .g-cx-down { animation-delay: .9s; }
.g-cx-col:nth-child(3) .g-cx-btn { animation-delay: 1.3s; }
.g-cx-lead .sa-hl { font-weight: 650; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .g-cx-down, .g-cx-btn { animation: none; } }
.g-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 28px; font: 600 14px/20px var(--font-text); color: var(--ink-muted); }
.g-legend span { display: inline-flex; align-items: center; gap: 8px; }
.g-legend i { width: 22px; height: 12px; border-radius: var(--radius-full); display: inline-block; }
.g-legend .g-l-active { background: var(--blue); }
.g-legend .g-l-passive { background: repeating-linear-gradient(-45deg, var(--sky-strong) 0 5px, var(--sky) 5px 10px); box-shadow: inset 0 0 0 1.5px var(--dots); }
.g-unsure { margin: 20px 0 0; font-size: 16px; line-height: 24px; color: var(--ink-muted); max-width: 760px; }
.g-unsure b { color: var(--ink); font-weight: 650; }

/* footer */
.g-foot { margin-top: 72px; padding: 24px 0 40px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.g-foot a { color: var(--blue); font-weight: 650; text-decoration: none; font-size: 16px; }

/* overview v2: hook, video, the aha */
.g-v2-hero { background: var(--sky); border-radius: var(--radius-xl); padding: 48px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: center; }
.g-v2-hero h1 { font: 600 48px/52px var(--font-display); letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.g-v2-hero .g-lead { font-size: 19px; line-height: 30px; color: var(--ink-muted); margin: 16px 0 0; max-width: 560px; }
.g-video { display: block; text-decoration: none; color: var(--ink); background: var(--surface); border-radius: var(--radius-lg); padding: 12px; box-shadow: var(--shadow-card); transition: box-shadow .2s ease, transform .2s ease; }
.g-video:hover { box-shadow: var(--shadow-float); transform: translateY(-2px); color: var(--ink); }
.g-video-poster { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-md); background: var(--sky-strong); display: grid; place-items: center; overflow: hidden; }
.g-video-poster img { width: 58%; height: auto; }
.g-cx-card { flex: 1 1 auto; }
.g-video-play { position: absolute; left: 76%; top: 70%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--signal); display: grid; place-items: center; box-shadow: 0 10px 24px -8px #0f2a4366; transition: transform .2s ease, background-color .15s ease; }
.g-video:hover .g-video-play { transform: scale(1.06); background: var(--signal-hover); }
.g-video-play svg { width: 24px; height: 24px; margin-left: 4px; fill: var(--on-signal); }
.g-video-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 6px 4px; }
.g-video-meta b { font: 600 18px/24px var(--font-display); }
.g-video-meta span { font: 600 13px/16px var(--font-text); color: var(--ink-muted); white-space: nowrap; }
.g-v2-sec { padding-top: 64px; }
.g-v2-sec h2 { font: 600 38px/44px var(--font-display); letter-spacing: -0.015em; margin: 6px 0 0; text-wrap: balance; }
.g-v2-sec .g-intro { font-size: 19px; line-height: 30px; color: var(--ink-muted); margin: 12px 0 0; max-width: 680px; }
.g-skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.g-skill { background: var(--surface); border-radius: var(--radius-lg); padding: 24px 28px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 8px; }
.g-skill-n { font: 700 15px/1 var(--font-display); color: var(--blue); width: 36px; height: 36px; border-radius: 50%; background: var(--sky); display: grid; place-items: center; }
.g-skill h3 { font: 600 26px/32px var(--font-display); margin: 4px 0 0; }
.g-skill p { margin: 0; font-size: 17px; line-height: 26px; color: var(--ink-muted); }
.g-skill .g-how { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 16px; line-height: 24px; color: var(--ink); }
.g-skill .g-how b { color: var(--blue); font-weight: 650; }
.g-aha { margin-top: 16px; background: var(--blue); color: var(--on-blue); border-radius: var(--radius-lg); padding: 28px 32px; }
.g-aha p { margin: 0; font: 500 22px/32px var(--font-display); text-wrap: pretty; }
.g-aha p b { font-weight: 650; color: var(--surface); text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.g-research-line { margin: 14px 0 0; font-size: 15px; line-height: 23px; color: var(--ink-muted); max-width: 820px; }
.g-sign { margin-top: 64px; background: var(--surface); border-radius: var(--radius-lg); padding: 28px 32px; box-shadow: var(--shadow-card); display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.g-sign img { width: 88px; height: 88px; border-radius: 50%; }
.g-sign p { margin: 0; font-size: 18px; line-height: 28px; color: var(--ink); }
.g-sign .g-sign-name { margin-top: 6px; font: 600 14px/20px var(--font-text); color: var(--ink-muted); }
.g-sign .g-sign-name b { color: var(--blue); }
.g-btn-sec { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--radius-full); background: var(--surface); color: var(--blue); box-shadow: inset 0 0 0 2px var(--line-strong); font: 650 16px/1 var(--font-text); text-decoration: none; white-space: nowrap; }
.g-btn-sec:hover { color: var(--blue-strong); box-shadow: inset 0 0 0 2px var(--blue); }
.g-btn-sec svg { width: 14px; height: 14px; fill: currentColor; }
.g-v2-refs { margin-top: 40px; }
.g-v2-refs h2 { font: 600 20px/26px var(--font-display); margin: 0 0 10px; }

@media (max-width: 760px) {
  .g-v2-hero { grid-template-columns: 1fr; padding: 28px 20px; gap: 24px; border-radius: 28px; }
  .g-v2-hero h1 { font-size: 32px; line-height: 36px; }
  .g-v2-hero .g-lead { font-size: 16px; line-height: 25px; }
  .g-video-play { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
  .g-v2-sec { padding-top: 44px; }
  .g-v2-sec h2 { font-size: 28px; line-height: 33px; }
  .g-v2-sec .g-intro { font-size: 16px; line-height: 25px; }
  .g-skills { gap: 8px; }
  .g-skill { padding: 16px 14px; }
  .g-skill h3 { font-size: 20px; line-height: 25px; }
  .g-skill p, .g-skill .g-how { font-size: 14px; line-height: 21px; }
  .g-aha { padding: 20px; }
  .g-aha p { font-size: 18px; line-height: 27px; }
  .g-sign { grid-template-columns: 64px minmax(0, 1fr); padding: 20px; gap: 16px; }
  .g-sign img { width: 64px; height: 64px; }
  .g-sign p { font-size: 16px; line-height: 25px; }
  .g-sign .g-btn-sec { grid-column: 1 / -1; justify-self: start; }
  .g-btn-sec { white-space: normal; line-height: 1.3; padding: 10px 18px; max-width: 100%; box-sizing: border-box; }
}

@media (max-width: 760px) {
  .g-wrap { padding: 0 16px; }
  .g-hero { grid-template-columns: minmax(0, 1fr) 96px; padding: 24px 20px; gap: 12px; border-radius: 28px; }
  .g-hero h1 { font-size: 28px; line-height: 32px; }
  .g-hero .g-lead { font-size: 16px; line-height: 24px; margin-top: 10px; }
  .g-sec { padding-top: 40px; }
  .g-sec h2 { font-size: 24px; line-height: 30px; margin-bottom: 14px; }
  .g-card { padding: 20px; }
  .g-why-main { font-size: 19px; line-height: 27px; }
  .g-why-list { grid-template-columns: 1fr; }
  .g-dose { padding: 18px 20px; }
  .g-dose-row { gap: 4px 20px; }
  .g-dose-row b { font-size: 26px; line-height: 32px; }
  .g-if td:first-child { width: 42%; padding-right: 12px; }
  .g-cx-wrap { padding: 28px 12px 24px; border-radius: 28px; }
  .g-cx-title { font-size: 32px; line-height: 36px; padding: 0 8px; }
  .g-cx-lead { font-size: 16px; line-height: 24px; padding: 0 8px; }
  .g-cx { gap: 8px; margin-top: 24px; }
  .g-cx::before { top: 15px; }
  .g-cx-col { gap: 8px; }
  .g-cx-tag { height: 36px; padding: 0 12px; font-size: 16px; line-height: 36px; }
  .g-cx-card { padding: 8px 6px 10px; gap: 8px; border-radius: 16px; }
  .g-cx-pics { grid-template-columns: 1fr; gap: 2px; }
  .g-cx-pics img { height: 58px; }
  .g-cx-pics figcaption { font-size: 10px; line-height: 12px; letter-spacing: .05em; }
  .g-gauge, .g-gauge-passive, .g-gauge-active { height: 10px; }
  .g-gauge-mark { top: -5px; height: 20px; width: 3px; }
  .g-cx-line { font-size: 14px; line-height: 18px; }
  .g-cx-sub { display: none; }
  .g-cx-down { height: 28px; }
  .g-cx-btn { width: 100%; min-height: 44px; padding: 0 6px; font-size: 14px; gap: 4px; }
  .g-cx-btn svg { display: none; }
  .g-legend { margin-top: 20px; font-size: 13px; }
}

.g-foot .g-legal { flex-basis: 100%; font-size: 13px; }
.g-foot .g-legal a { font-size: 13px; font-weight: 500; color: var(--ink-muted); text-decoration: underline; text-underline-offset: 2px; }
