/* GPEX User Guide: editorial homepage-style introduction.
   Complete stylesheet; the remaining guide layout and content are unchanged. */
.gpex-user-guide {
  background: #f5f7fa;
  color: #19263c;
}
.guide-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 44px clamp(20px, 4vw, 64px) 72px;
}
.guide-main a:not(.guide-button) { color: #284e75; }
.guide-main a:not(.guide-button):hover { color: #102c4b; }
.guide-main a { text-underline-offset: 4px; }
.guide-main p { line-height: 1.8; }
.guide-main strong { font-weight: 750; }
.guide-main h1, .guide-main h2, .guide-main h3 { color: #122b48; font-weight: 750; }
.guide-main h1, .guide-main h2, .guide-main h3, .guide-main p { margin-top: 0; }
.guide-eyebrow {
  margin-bottom: 18px;
  color: #72849a;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .16em;
  line-height: 1.6;
  text-transform: uppercase;
}
/* Open, section-based introduction — same editorial language as the GPEX homepage. */
.guide-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(260px, .76fr);
  align-items: center;
  gap: clamp(40px, 7vw, 104px);
  padding: clamp(58px, 7.2vw, 110px) 0 clamp(48px, 5.8vw, 84px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.guide-hero h1 {
  margin-bottom: 18px;
  color: #19263c;
  font-size: clamp(44px, 5vw, 73px);
  font-weight: 400;
  letter-spacing: -.057em;
  line-height: 1.12;
  text-wrap: balance;
}
.guide-subtitle { max-width: 680px; margin-bottom: 22px; color: #455c77; font-size: clamp(18px, 2vw, 24px); font-weight: 400; line-height: 1.55; }
.guide-lead { max-width: 600px; margin-bottom: 22px; color: #667489; font-size: 14px; line-height: 1.9; }
.guide-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid #183a5c;
  border-radius: 10px;
  background: #163552;
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.6;
  text-decoration: none;
}
.guide-button:hover { background: #224b70; }
.guide-button span { font-size: 17px; }
/* In the introduction the CTA is a quiet text link, not a filled button. */
.guide-hero .guide-button {
  min-height: 42px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #243e5a;
  font-size: 13px;
  font-weight: 700;
  gap: 16px;
}
.guide-hero .guide-button:hover { background: transparent; color: #51708d; text-decoration: underline; text-underline-offset: 5px; }
.guide-hero .guide-button:focus-visible { outline: 2px solid #718ca8; outline-offset: 5px; }
/* A minimal, unboxed editorial side note replaces the former glass card. */
.guide-principle {
  padding: 5px 0 5px clamp(24px, 3vw, 40px);
  border: 0;
  border-left: 1px solid #d6dfe9;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.guide-principle-mark { display: inline-block; margin-bottom: 18px; color: #7590aa; font-size: 25px; line-height: 1; }
.guide-principle h2 { max-width: 350px; margin-bottom: 16px; color: #20334e; font-size: clamp(19px, 2vw, 26px); font-weight: 500; line-height: 1.35; letter-spacing: -.035em; }
.guide-principle p { color: #667489; font-size: 13px; line-height: 1.85; }
.guide-principle p:last-child { margin-bottom: 0; }
.guide-route { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 22px 0 50px; }
.guide-route a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 84px;
  padding: 18px;
  border: 1px solid #e0e6ee;
  border-radius: 13px;
  background: #fff;
  text-decoration: none;
}
.guide-route a:hover { border-color: #a8bfd5; background: #fafdff; }
.guide-route-number { color: #71869c; font-size: 12px; font-variant-numeric: tabular-nums; }
.guide-route strong { display: block; margin-bottom: 4px; font-size: 12px; }
.guide-route small { color: #5f7186; font-size: 10px; }
.guide-route-arrow { margin-left: auto; color: #6b829a; font-size: 17px; }
.guide-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: start; gap: clamp(25px, 4vw, 60px); }
.guide-contents { position: sticky; top: calc(var(--gpex-header-height) + 28px); }
.guide-contents .guide-eyebrow { padding-left: 12px; }
.guide-contents nav a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
}
.guide-contents nav a:hover { background: #eaf0f7; }
.guide-contents nav a.active,
.guide-contents nav a.is-active,
.guide-contents nav a[aria-current="location"],
.guide-contents nav a[aria-current="true"] {
  background: #e7eff8;
  color: #244a70;
  font-weight: 750;
}
.guide-contents nav a.active span,
.guide-contents nav a.is-active span,
.guide-contents nav a[aria-current="location"] span,
.guide-contents nav a[aria-current="true"] span { color: #52769b; font-weight: 700; }
.guide-contents nav a span { color: #71859a; font-size: 10px; font-weight: 500; }
.guide-contents-note { margin: 25px 12px 0; padding-top: 21px; border-top: 1px solid #e1e7ef; color: #6a7b8f; font-size: 10px; }
.guide-sections { min-width: 0; }
.guide-section {
  margin-bottom: 24px;
  padding: clamp(25px, 3.2vw, 44px);
  border: 1px solid #e1e7ef;
  border-radius: 19px;
  background: #fff;
  scroll-margin-top: calc(var(--gpex-header-height) + 22px);
}
.guide-section-heading { display: flex; align-items: flex-start; gap: 17px; margin-bottom: 22px; }
.guide-section-heading .guide-eyebrow { margin: 0 0 6px; }
.guide-section-number { min-width: 36px; padding-top: 2px; color: #93a6ba; font-size: 21px; font-weight: 450; letter-spacing: -.03em; }
.guide-section h2 { margin: 0; font-size: clamp(24px, 2.6vw, 31px); line-height: 1.35; letter-spacing: -.035em; }
.guide-section h3 { margin: 27px 0 13px; font-size: 17px; line-height: 1.5; letter-spacing: -.02em; }
.guide-section p { color: #52657b; font-size: 14px; }
.guide-section .guide-intro { margin-bottom: 23px; color: #415971; font-size: 15px; }
.guide-steps { margin: 0 0 25px; padding-left: 21px; }
.guide-steps li { padding-left: 7px; margin-bottom: 17px; color: #52657b; font-size: 14px; line-height: 1.9; }
.guide-steps li:last-child { margin-bottom: 0; }
.guide-steps li::marker { color: #597795; font-weight: 700; }
.guide-steps strong { color: #243f5b; }
.guide-table-wrap { max-width: 100%; margin: 24px 0; overflow-x: auto; border: 1px solid #e1e8f0; border-radius: 12px; }
.guide-table { width: 100%; border-collapse: collapse; color: #52657b; font-size: 11px; line-height: 1.8; }
.guide-table caption { padding: 15px 18px; border-bottom: 1px solid #e1e8f0; background: #f8fafc; color: #3c5671; font-size: 11px; font-weight: 700; text-align: left; }
.guide-table th, .guide-table td { padding: 14px 17px; border-bottom: 1px solid #e7ecf2; text-align: left; vertical-align: top; }
.guide-table thead th { color: #566c83; font-size: 10px; font-weight: 700; background: #fbfcfe; }
.guide-table tbody th { width: 22%; color: #2b4661; font-size: 11px; font-weight: 700; }
.guide-table tr:last-child th, .guide-table tr:last-child td { border-bottom: 0; }
.guide-note { margin: 22px 0; padding: 19px 21px; border: 1px solid #e3eaf3; border-radius: 12px; background: #f6f9fc; }
.guide-note > strong { display: block; margin-bottom: 7px; color: #2a4764; font-size: 12px; line-height: 1.65; }
.guide-note p { margin-bottom: 0; font-size: 13px; }
.guide-note-emphasis { border-color: #d3e1ef; background: linear-gradient(110deg, #eef4fa, #f9fbfd); }
.guide-two-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.guide-two-notes .guide-note { margin-top: 0; }
.guide-section-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; font-size: 12px; font-weight: 750; text-decoration: none; }
.guide-section-link:hover { text-decoration: underline; }
.guide-detail { margin-top: 12px; border: 1px solid #e2e9f1; border-radius: 11px; background: #fff; }
.guide-detail summary { padding: 17px 19px; border-radius: 10px; color: #2e4b68; font-size: 12px; font-weight: 650; line-height: 1.75; cursor: pointer; }
.guide-detail summary::marker { color: #7b93aa; }
.guide-detail summary:hover { background: #f6f9fc; }
.guide-detail[open] summary { border-bottom: 1px solid #e8edf3; border-radius: 10px 10px 0 0; background: #f8fafc; }
.guide-detail > div { padding: 18px 21px 3px; }
.guide-detail p { font-size: 13px; }
.guide-example { display: grid; grid-template-columns: minmax(0, 1fr) 145px; gap: 10px 25px; margin: 26px 0; padding: 26px; border: 1px solid #d9e5f1; border-radius: 15px; background: linear-gradient(120deg, #f7fafc, #eef4fb); }
.guide-example .guide-eyebrow { margin-bottom: 8px; }
.guide-example h3 { margin: 0 0 10px; font-size: 18px; }
.guide-example p { margin-bottom: 0; }
.guide-example-value { display: flex; align-items: center; justify-content: center; flex-direction: column; }
.guide-example-value strong { color: #2b5279; font-size: 52px; font-weight: 650; letter-spacing: -.055em; line-height: 1.3; }
.guide-example-value span { color: #647d96; font-size: 11px; }
.guide-example .guide-example-caution { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid #dbe6f1; margin-top: 8px; font-size: 11px; }
.guide-section .guide-small { color: #6a7e92; font-size: 11px; }
.guide-glossary { margin: 0; }
.guide-glossary > div { display: grid; grid-template-columns: minmax(145px, .65fr) minmax(0, 1.6fr); gap: 20px; padding: 17px 0; border-bottom: 1px solid #e8edf3; }
.guide-glossary > div:last-child { border-bottom: 0; padding-bottom: 0; }
.guide-glossary dt { color: #2e4a66; font-size: 12px; font-weight: 700; line-height: 1.8; }
.guide-glossary dd { margin: 0; color: #52657b; font-size: 14px; line-height: 1.8; }
/* Full-width navy closing section, matching the homepage About GPEX area. */
.gpex-user-guide { overflow-x: clip; }
.guide-main { padding-bottom: 0; }
.guide-next {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(210px, .8fr);
  align-items: center;
  gap: clamp(36px, 6vw, 92px);
  margin: 82px 0 0;
  padding: clamp(88px, 8vw, 124px) 0 clamp(84px, 7.5vw, 116px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #eef3f8;
}
/* Paint beyond the guide's reading-width container, without widening its content. */
.guide-next::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 65% 90% at 69% 115%, rgba(71, 100, 126, .22), transparent 74%), #0c1b2c;
}
.guide-next .guide-eyebrow {
  margin-bottom: 26px;
  color: #899caf;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .15em;
}
.guide-main .guide-next h2 {
  max-width: 720px;
  margin: 0 0 24px;
  color: #f3f6fa;
  font-size: clamp(37px, 4.25vw, 62px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.guide-next p:not(.guide-eyebrow),
.guide-next p:last-child {
  max-width: 575px;
  margin-bottom: 0;
  color: #a5b4c5;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.95;
}
.guide-next .guide-button {
  justify-self: start;
  flex-shrink: 0;
  min-height: 52px;
  padding: 15px 24px;
  border: 1px solid rgba(233, 238, 245, .9);
  border-radius: 10px;
  background: #f4f6fa;
  color: #1c2e45;
  box-shadow: none;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.guide-next .guide-button:hover {
  background: #fff;
  color: #10243c;
  transform: translateY(-2px);
}
.guide-next .guide-button:focus-visible { outline: 2px solid #c4d8ed; outline-offset: 5px; }
/* Navy footer continues seamlessly from the closing section. */
.guide-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px 25px;
  margin: 0;
  padding: 31px max(24px, calc((100vw - 1280px) / 2)) 47px;
  border: 0;
  background: linear-gradient(180deg, #0f1e30 0%, #0c1b2c 100%);
  color: #94a6ba;
  font-size: 10px;
  line-height: 1.8;
}
.guide-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: max(24px, calc((100vw - 1280px) / 2));
  left: max(24px, calc((100vw - 1280px) / 2));
  border-top: 1px solid #283b50;
}
.guide-footer p { margin: 0; color: #94a6ba; }
.guide-footer a { color: #c7d3df; text-underline-offset: 3px; }
.guide-footer a:hover { color: #fff; }
.guide-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 1100px) {
  .guide-layout { grid-template-columns: 170px minmax(0, 1fr); gap: 25px; }
  .guide-route a { padding: 16px 12px; gap: 9px; }
  .guide-route-arrow { display: none; }
}
@media (max-width: 850px) {
  .guide-main { padding-top: 25px; }
  .guide-hero { grid-template-columns: 1fr; gap: 32px; padding-block: 60px 48px; }
  .guide-principle { padding: 22px 0 0; border-left: 0; border-top: 1px solid #d6dfe9; }
  .guide-principle-mark { display: none; }
  .guide-principle h2 { max-width: 520px; font-size: 21px; }
  .guide-route { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 28px; }
  .guide-route a { min-height: 77px; padding: 16px; }
  .guide-route-arrow { display: inline; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-contents { position: static; padding: 20px; border: 1px solid #e1e7ef; border-radius: 14px; background: #eef3f8; }
  .guide-contents nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-contents .guide-eyebrow { grid-column: 1 / -1; margin-bottom: 6px; }
  .guide-contents nav a { padding: 9px 12px; }
  .guide-contents-note { display: none; }
  .guide-next { grid-template-columns: 1fr; gap: 28px; margin-top: 62px; padding: 80px 0; }
  .guide-next .guide-button { justify-self: start; }
  .guide-footer { padding: 28px 24px 56px; }
}
@media (max-width: 540px) {
  .guide-main { padding-inline: 15px; padding-bottom: 40px; }
  .guide-hero { padding: 46px 0 36px; gap: 26px; border-radius: 0; }
  .guide-hero h1 { font-size: clamp(40px, 11vw, 56px); }
  .guide-subtitle { font-size: 19px; }
  .guide-lead { font-size: 13px; }
  .guide-route { gap: 9px; }
  .guide-route a { padding: 13px 10px; gap: 8px; }
  .guide-route-number { font-size: 10px; }
  .guide-route strong { font-size: 11px; }
  .guide-route small { font-size: 9px; }
  .guide-route-arrow { display: none; }
  .guide-contents { padding: 15px 8px; }
  .guide-contents nav a { font-size: 10px; gap: 8px; }
  .guide-section { padding: 25px 20px; border-radius: 15px; }
  .guide-section-heading { gap: 11px; }
  .guide-section-number { min-width: 25px; font-size: 18px; }
  .guide-section h2 { font-size: 24px; }
  .guide-section-heading .guide-eyebrow { font-size: 9px; }
  .guide-two-notes { grid-template-columns: 1fr; gap: 0; }
  .guide-table { min-width: 520px; }
  .guide-table th, .guide-table td { padding: 12px 14px; }
  .guide-example { grid-template-columns: 1fr; padding: 21px; }
  .guide-example-value { align-items: flex-start; padding-top: 12px; }
  .guide-example-value strong { font-size: 45px; }
  .guide-glossary > div { grid-template-columns: 1fr; gap: 4px; }
  .guide-next { margin-top: 48px; padding: 68px 0 70px; }
  .guide-main .guide-next h2 { font-size: clamp(34px, 9vw, 44px); }
  .guide-next p:not(.guide-eyebrow) { font-size: 13px; }
  .guide-footer { padding: 25px 20px 48px; }
}
@media print {
  body.gpex-user-guide { padding-top: 0; background: #fff; }
  .gpex-header, .guide-contents, .guide-route, .guide-button, .guide-next, .guide-footer, .guide-section-link { display: none !important; }
  .guide-main { max-width: none; padding: 0; }
  .guide-hero { padding: 20px 0; border: 0; border-radius: 0; background: none; }
  .guide-layout { display: block; }
  .guide-section { margin: 15px 0; padding: 20px; break-inside: auto; }
  .guide-section-heading { break-after: avoid; }
  .guide-detail > div { display: block; }
  .guide-table { min-width: 0; }
}
