/* Shared Light Plan foundations. Load after template styles, before components.
   Uses the template's local Poppins 400/700 and Bootstrap; no global resets. */
.plan-light {
  --display: "Poppins", Arial, sans-serif;
  --body: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --plan-blue: #0072CE;
  --sky-blue: #58CAE7;
  --navy: #243C4B;
  --plan-orange: #ED632F;
  --ci-black: #000000;
  --ci-white: #FFFFFF;
  --ci-gray: #D9D9D6;
  --ci-ink: #0A141C;
  --ci-surface: #101E28;
  --ci-elev: #15242F;
  --ci-elev-2: #0D1A22;
  --ci-muted: #A5B2BD;
  --ci-muted-hi: #B7C4CE;
  --ci-faint: #7E8C97;
  --t-bg: #FFFFFF;
  --t-bg-2: #F4F4F0;
  --t-surface: #F7F7F5;
  --t-elev: #F7F7F5;
  --t-elev-2: #EFEFEB;
  --t-head: #0072CE;
  --t-body: #243C4B;
  --t-muted: #243C4B;
  --t-muted-hi: #243C4B;
  --t-line: #00000014;
  --t-line-2: #0000001A;
  --t-acc: #0072CE;
  --t-acc-0d: #0072CE0D;
  --t-acc-12: #0072CE12;
  --t-acc-25: #0072CE26;
  --t-acc-40: #0072CE40;
  --t-acc-50: #0072CE55;
  --t-acc-65: #0072CE66;
  --t-acc-line: #0072CE33;
  --t-price: #0072CE;
  --t-price-line: #0072CE42;
  --t-head-onwhite: #0072CE;
  --t-body-onwhite: #243C4B;
  color-scheme: light;
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--t-body);
  background: var(--t-bg);
  overflow-x: clip;
  scroll-margin-top: 0;
}
.plan-light, .plan-light *, .plan-light::before, .plan-light::after,
.plan-light *::before, .plan-light *::after { box-sizing: border-box; }
.plan-light a { color: inherit; }
.plan-light button, .plan-light a { -webkit-tap-highlight-color: transparent; }
.plan-light button { font: inherit; }
.plan-light a:focus-visible, .plan-light button:focus-visible,
.plan-light summary:focus-visible { outline: 2px solid var(--plan-blue); outline-offset: 7px; }
.plan-light::selection, .plan-light ::selection { background: var(--plan-blue); color: #FFFFFF; }
.plan-light h1, .plan-light h2, .plan-light h3 { font-weight: 700; }
.plan-light.pat-section { position: relative; background: var(--t-bg); color: var(--t-body); overflow: clip; }
.plan-light.pat-section h1, .plan-light.pat-section h2, .plan-light.pat-section h3 { color: var(--t-head); }
.plan-light .sec-head { max-width: 760px; margin-bottom: 9svh; }
.plan-light .sec-head .lede { margin-bottom: 0; }
.plan-light .eyebrow { font: 700 16px/1.4 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--t-acc); margin: 0 0 20px; }
.plan-light h2 { font: 700 clamp(40px,5.4vw,72px)/1.05 var(--display); letter-spacing: -.02em; margin: 0 0 22px; }
.plan-light .lede { font-size: 16px; line-height: 1.75; color: var(--t-muted); max-width: 560px; margin: 0; }
.plan-light .price-line { font: 700 16px/1.6 var(--body); letter-spacing: .02em; color: var(--t-price); margin: 0 0 30px; }
.plan-light .btn { display: inline-flex; align-items: center; justify-content: center; min-block-size: var(--control-min-size, 2.75rem); max-inline-size: 100%; gap: .75rem; font: 700 var(--text-control-prominent, 1.125rem)/1.4 var(--display); letter-spacing: .01em; padding: .9375rem 1.625rem; border-radius: 999px; text-decoration: none; cursor: pointer; white-space: normal; touch-action: manipulation; }
/* Unqualified Plan buttons are blue; explicit shared variants own their colors. */
.plan-light .btn:not(.btn--primary, .btn--secondary, .btn--ghost) { background: var(--plan-blue); color: var(--ci-white); border: 0; transition: background-color var(--motion-duration-state, 160ms) ease, color var(--motion-duration-state, 160ms) ease; }
.plan-light .btn:not(.btn--primary, .btn--secondary, .btn--ghost):visited { color: var(--ci-white); }
.plan-light .m5-btn-primary { font-family: var(--display); font-weight: 700; font-size: var(--text-control-prominent, 1.125rem); }
.plan-light .btn span { font-size: inherit; }
.plan-light .cta { display: inline-flex; align-items: center; min-block-size: var(--control-min-size, 2.75rem); max-inline-size: 100%; gap: .75rem; font-size: var(--text-control, 1rem); font-weight: 700; color: var(--plan-blue); text-decoration: underline; text-underline-offset: .25em; border: 0; padding-block: .5rem; touch-action: manipulation; transition: color var(--motion-duration-state, 160ms) ease; }
.plan-light .cta span { color: currentColor; font-size: 1.25em; }
@media (hover: hover) and (pointer: fine) {
  .plan-light .btn:not(.btn--primary, .btn--secondary, .btn--ghost):hover:where(:not(:disabled, .disabled, [aria-disabled="true"])) { background: var(--brand-blue-hover, #005BA8); }
  .plan-light .cta:hover { color: var(--brand-blue-hover, #005BA8); }
}
.plan-light .btn:not(.btn--primary, .btn--secondary, .btn--ghost):active:where(:not(:disabled, .disabled, [aria-disabled="true"])) { background: var(--brand-blue-pressed, #004B87); }
.plan-light .cta:active { color: var(--navy); }
.plan-light .cta.cta-dark { border-color: var(--plan-blue); }
.plan-light .cta.cta-dark span { color: var(--plan-blue); }
.plan-light .cta-row { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
/* AP03 provisional system, deliberately limited to the three pattern sections. */
.plan-light.plan-pattern {
  --display: var(--font-display);
  --body: var(--font-body);
  --plan-blue: var(--brand-blue);
  --navy: var(--brand-navy);
  --t-head: var(--brand-blue);
  --t-body: var(--brand-navy);
  --t-muted: var(--brand-navy);
  --t-surface: var(--surface-soft);
  font-size: var(--text-body);
  line-height: 1.65;
  overflow: visible;
}
.plan-light.plan-pattern .sec-head,
.plan-light.plan-pattern .section-intro,
.plan-light.plan-pattern .pat-intro { max-width: var(--lead-measure); margin-bottom: var(--intro-to-content); }
.plan-light.plan-pattern h2 { font: 700 var(--text-section)/1.15 var(--font-display); letter-spacing: -.02em; margin: 0 0 var(--space-4); text-wrap: balance; }
.plan-light.plan-pattern .eyebrow { font: 700 var(--text-eyebrow)/1.4 var(--font-body); letter-spacing: .1em; margin: 0 0 var(--space-3); }
.plan-light.plan-pattern .lede,
.plan-light.plan-pattern .section-subtitle { font: 400 var(--text-lead)/1.6 var(--font-body); max-width: var(--lead-measure); margin: 0; }
.plan-light.plan-pattern a:focus-visible,
.plan-light.plan-pattern button:focus-visible,
.plan-light.plan-pattern summary:focus-visible { outline: var(--focus-width) solid var(--brand-navy); outline-offset: var(--focus-offset); }
.plan-light.plan-pattern .btn,
.plan-light.plan-pattern .m5-btn-primary { min-block-size: var(--control-min-size); max-inline-size: 100%; font: 700 var(--text-control-prominent)/1.4 var(--font-control); padding: var(--space-3) var(--space-5); gap: var(--space-2); white-space: normal; touch-action: manipulation; }
.plan-light.plan-pattern .btn span { font-size: inherit; transition: none; }
.plan-light.plan-pattern .cta { min-block-size: var(--control-min-size); max-inline-size: 100%; font: 700 var(--text-control)/1.4 var(--font-control); color: var(--brand-blue); align-items: center; gap: var(--space-2); padding-block: var(--space-2); text-decoration: underline; text-underline-offset: .25em; border: 0; }
.plan-light.plan-pattern .cta span { font-size: 1.25em; transition: none; }
@media (hover: hover) and (pointer: fine) {
  .plan-light.plan-pattern .cta:hover { color: var(--brand-blue-hover); }
}
.plan-light.plan-pattern .cta:active { color: var(--brand-navy); }
@media (forced-colors: active) {
  .plan-light.plan-pattern { --t-head: CanvasText; --t-body: CanvasText; --t-muted: CanvasText; --t-surface: Canvas; }
  .plan-light.plan-pattern a:focus-visible,
  .plan-light.plan-pattern button:focus-visible,
  .plan-light.plan-pattern summary:focus-visible { outline-color: CanvasText; }
  .plan-light.plan-pattern .btn,
  .plan-light.plan-pattern .m5-btn-primary { border: 1px solid ButtonText; }
}
.plan-light .ph { position: relative; overflow: hidden; border-radius: 5px; background: linear-gradient(163deg,#17303D 0%,#0F2029 45%,#0A141C 100%); isolation: isolate; }
.plan-light .ph::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background-image: url("../img/shared/plan-light-noise.svg"); background-size: 135px 135px; opacity: .16; }
.plan-light .ph-warm { background: radial-gradient(ellipse at 68% 18%,#ED632F2E,transparent 52%),linear-gradient(163deg,#1D3540 0%,#0F2029 45%,#0A141C 100%); }
.plan-light .ph-person { position: absolute; z-index: 1; width: 34%; height: 58%; bottom: 8%; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg,#0E2230,#2E5E7E); border-radius: 44% 44% 6% 6%; }
.plan-light .ph-person::before { content: ""; position: absolute; width: 56%; height: 34%; left: 22%; top: -26%; border-radius: 46% 48% 44% 42%; background: #123244; box-shadow: -2px -2px 0 #0E2735; }
.plan-light .ph-tag { position: absolute; z-index: 3; left: 14px; bottom: 14px; font: 400 16px/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ci-faint); background: #0A141CCC; padding: 6px 10px; border-radius: 3px; backdrop-filter: blur(2px); }
/* Static by default. Only the guarded Plan observer can arm an entrance. */
.plan-light .plan-reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .plan-light .plan-reveal.is-plan-reveal-ready {
    opacity: 0;
    transform: translateY(var(--motion-distance-reveal, .5rem));
  }
  .plan-light .plan-reveal.is-plan-reveal-ready.is-plan-reveal-visible {
    transition: opacity var(--motion-duration-reveal, 240ms) var(--motion-ease-out, var(--ease-out)), transform var(--motion-duration-reveal, 240ms) var(--motion-ease-out, var(--ease-out));
  }
  .plan-light .plan-reveal.is-plan-reveal-visible { opacity: 1; transform: none; }
}
.plan-light .plan-reveal:focus-within { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
  .plan-light .plan-reveal { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 700px) {
  .plan-light .sec-head { margin-bottom: 7svh; }
}
/* Component controllers own panels, native disclosures and Mission motion. */
.reduced .plan-light .plan-reveal, .plan-light.reduced .plan-reveal { opacity: 1; transform: none; transition: none; }
