
.gl { --gl-hair: #e6e4dc; }
.wrap.gl-w { max-width: calc(1050px + 64px); }

.gl-ah .ah-grid { grid-template-columns: minmax(0, 760px); }
.gl-ah .ah-sum { max-width: 680px; }
.gl-ah .ah-crumbs li[aria-current] { overflow-wrap: anywhere; }

.gl-term .a-prose blockquote { margin: 8px 0 28px; padding: 18px 22px; border-left: 3px solid var(--blue); border-radius: 0 8px 8px 0;
  background: var(--sky-3); font-size: 18px; font-weight: 400; line-height: 28px; letter-spacing: 0; }
.gl-term .a-prose blockquote p { margin: 0 0 14px; }
.gl-term .a-prose blockquote > :last-child { margin-bottom: 0; }
.gl-term .a-prose pre { max-width: 100%; }

.gl-faq { margin: 0 0 40px; border-top: 1px solid var(--line); }
.a-prose .gl-faq h3 { margin: 0; font-size: inherit; line-height: inherit; letter-spacing: normal; font-weight: 400; }
.a-prose .gl-faq .qa-q { padding: 22px 0; gap: 28px; font-size: 20px; line-height: 1.4; }
.a-prose .gl-faq .qa .a { padding-bottom: 24px; font-size: 18px; line-height: 1.6; }
.a-prose .gl-faq .qa .a p, .a-prose .gl-faq .qa .a pre { margin: 0 0 16px; }
.a-prose .gl-faq .qa .a > :last-child { margin-bottom: 0; }

body.gl > section.gl-rel { margin-top: 100px; }
.gl-term .a-main > .acta-t:last-child { margin-bottom: 0; }
body.gl > .guide { margin-top: 100px; }
body.gl > .page-upd + .guide { margin-top: 0; }
body.gl > .page-upd.wrap { max-width: calc(1050px + 64px); }
.gl-rel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.gl-btn-o { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border: 2px solid var(--accent); border-radius: 52px;
  color: var(--accent); font-size: 16px; font-weight: 500; white-space: nowrap; transition: background .2s, color .2s; }
.gl-btn-o:hover { background: var(--accent); color: #fff; }
.gl-btn-o:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.gl-rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 1px 0 0 1px; }
.gl-rel-c { display: flex; flex-direction: column; min-height: 230px; margin: -1px 0 0 -1px; padding: 32px 32px 30px 28px;
  border: 1px solid var(--gl-hair); transition: background .2s; }
.gl-rel-k { font-size: 14px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.gl-rel-c h3 { margin: 14px 0 24px; font-size: 21px; line-height: 1.3; letter-spacing: -.5px; }
.gl-rel-a { margin-top: auto; width: 44px; height: 44px; border: 1px solid #dcdcd5; border-radius: 50%; display: grid; place-items: center;
  transition: background .2s, border-color .2s; }
.gl-rel-a svg { width: 18px; height: 18px; }
.gl-rel-c:hover { background: var(--sky-3); }
.gl-rel-c:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.gl-rel-c:hover .gl-rel-a { background: var(--blue); border-color: var(--blue); }
.gl-rel-c:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.gl-hero { margin-top: var(--hdm, -84px); padding: 150px 0 72px; background: var(--warm); text-align: center; }
.gl-pill { display: inline-block; padding: 11px 15px; border-radius: 999px; background: var(--yellow); color: #3b2f0b;
  font-size: 14px; font-weight: 500; line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.gl-hero h1 { max-width: 820px; margin: 28px auto 18px; font-size: 46px; line-height: 1.24; letter-spacing: -1.5px; text-wrap: balance; }
.gl-sub { max-width: 620px; margin: 0 auto; font-size: 18px; line-height: 1.5; color: #4c524e; }
.gl-page-n { margin: 14px 0 0; font-size: 16px; line-height: 24px; color: #4c524e; }   
.gl-search { position: relative; max-width: 620px; margin: 40px auto 0; }
.gl-search svg.i { position: absolute; left: 16px; top: 50%; width: 24px; height: 24px; margin-top: -12px; color: #3d423f; pointer-events: none; }
.gl-search input { display: block; width: 100%; height: 53px; margin: 0; padding: 12px 16px 12px 48px; border: 1px solid #d9d9d9; border-radius: 8px;
  background: #fff; font: inherit; font-size: 18px; line-height: 27px; color: var(--ink); -webkit-appearance: none; appearance: none; outline: none; }
.gl-search input::placeholder { color: #757575; opacity: 1; }
.gl-search input::-webkit-search-decoration { -webkit-appearance: none; }
.gl-search input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.gl-az { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; max-width: 620px; margin: 28px auto 0; } 
.gl-az a, .gl-az span { min-width: 40px; height: 40px; padding: 0 8px; border-radius: 8px; display: inline-grid; place-items: center;
  font-size: 16px; line-height: 1; font-weight: 500; color: var(--ink); }
.gl-az a { transition: background .15s; }
.gl-az a:hover { background: #fff; }
.gl-az a:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.gl-az span, .gl-az a.off { color: #a3a8a4; font-weight: 400; }
.gl-az a.off:hover { background: none; }

main > section.gl-lib { margin-top: 64px; }
.gl-idx-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.gl-idx-head h2 { margin: 0 0 8px; font-size: 40px; line-height: 1.2; letter-spacing: -1.2px; }
.gl-count { margin: 0; font-size: 15px; color: var(--muted); }
.gl-count b { color: var(--ink); font-weight: 500; }
.gl-grp { margin-top: 36px; scroll-margin-top: 110px; }
.gl-grp[hidden] { display: none; }
.gl-grp-h { margin: 0; padding-bottom: 12px; border-bottom: 1px solid var(--ink); font-size: 14px; font-weight: 500;
  letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); }
.gl-rows { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
.gl-rows li { min-width: 0; display: flex; }
.gl-rows li[hidden] { display: none; }
.gl-rows a { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 64px; padding: 12px 0;
  border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.3; font-weight: 500; }
.gl-rows a::after { content: ""; flex: none; width: 32px; height: 32px; border: 1px solid #333; border-radius: 50%;
  transition: background-color .25s ease-out, border-color .25s ease-out; }
.gl-rows a::after { background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M18 6 16.57 7.393 24.15 15 4 15 4 17 24.15 17 16.57 24.573 18 26 28 16 18 6z' fill='%2312150f'/%3E%3C/svg%3E") center / 16px no-repeat; }
.gl-rows a:hover::after { background-color: #000; border-color: #000;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M18 6 16.57 7.393 24.15 15 4 15 4 17 24.15 17 16.57 24.573 18 26 28 16 18 6z' fill='%23fff'/%3E%3C/svg%3E"); }
.gl-rows a:hover { text-decoration: underline; text-underline-offset: 3px; }
.gl-rows a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.gl-empty { margin: 32px 0 0; font-size: 18px; }
.gl-res[hidden], .gl-page[hidden] { display: none; }
#gl-idx .pg { margin-top: 48px; }

.gl-cs { display: grid; grid-template-columns: minmax(0, 1fr) 360px; background: var(--lilac); border-radius: 36px; overflow: hidden; }
.gl-cs-l { padding: 68px 56px 64px; }
.gl-pill-s { background: var(--sky-2); color: var(--navy); }
.gl-cs-l h2 { margin: 26px 0 18px; font-size: 43px; line-height: 1.2; font-weight: 500; letter-spacing: -.4px; }
.gl-cs-l > p { max-width: 470px; margin: 0 0 32px; font-size: 18px; line-height: 1.55; }
.gl-cs-l .gl-fine { margin: 14px 0 0; font-size: 14px; color: #4c524e; }
.gl-cs-pic img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1024px) {
  .gl-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gl-cs { grid-template-columns: 1fr 260px; }
  .gl-rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .a-prose .gl-faq .qa-q { padding: 20px 0; font-size: 19px; }
  body.gl > section.gl-rel { margin-top: 76px; } 
  body.gl > .guide { margin-top: 64px; }
  .gl-rel-head { flex-direction: column; align-items: flex-start; }
  .gl-rel-grid { grid-template-columns: 1fr; }
  .gl-rel-c { min-height: 0; padding: 24px 22px; }
  .gl-hero { margin-top: var(--hdm, -68px); padding: 112px 0 48px; }
  .gl-hero h1 { font-size: 32px; letter-spacing: -.8px; }
  .gl-search { margin-top: 28px; }
  .gl-search svg.i { left: 13px; width: 20px; height: 20px; margin-top: -10px; }
  .gl-search input { height: 46px; padding: 10px 13px 10px 40px; font-size: 16px; line-height: 24px; }
  .gl-az { gap: 2px; margin-top: 20px; }
  .gl-az a, .gl-az span { min-width: 36px; height: 40px; padding: 0 6px; }
  main > section.gl-lib { margin-top: 64px; }
  .gl-idx-head { flex-direction: column; gap: 4px; }
  .gl-idx-head h2 { font-size: 30px; }
  .gl-rows { grid-template-columns: 1fr; }
  .gl-cs { grid-template-columns: 1fr; border-radius: 24px; }
  .gl-cs-l { padding: 40px 24px; }
  .gl-cs-l h2 { font-size: 32px; }
  .gl-cs-pic { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gl-rows a::after, .gl-rel-c, .gl-rel-a, .gl-az a, .gl-btn-o { transition: none; }
}
