/* D-075: Korean home and product only. Assessments, report documents and the
   global site retain their own readability and centre-colour contracts. */
.library-page {
  --library-night: #191524;
  --ink: #302936;
  --muted: #746b74;
  --paper: #f8f5f0;
  --line: #e5ded5;
  --accent: #685071;
  --accent-dark: #4a3555;
  background: var(--paper);
  color: var(--ink);
}
.library-page > header { background: rgba(248,245,240,.97); border-color: var(--line); height: 80px; }
.library-page .brand { color: #3c3044; }
.library-page nav .nav-cta { background: #3c3044; color: #fff9f0; border-color: #3c3044; box-shadow: none; }
.library-page nav .paid-nav { background: transparent; color: #66516e; border: 1px solid #d4c8d6; box-shadow: none; }
.library-page nav .paid-nav:hover { background: #eee6ed; }
.library-page .section-nav { background: var(--paper); }
.library-page .button { background: #685071; color: #fffaf4; box-shadow: none; border-radius: 6px; transition: background .2s, transform .2s; }
.library-page .button:hover { background: #4a3555; }
.library-page a:focus-visible, .library-page button:focus-visible, .library-page summary:focus-visible { outline: 3px solid #956b9b; outline-offset: 5px; }
.library-page .text-link { color: #685071; }
.library-page > footer { background: #f0ebe5; color: #706372; border-top: 1px solid var(--line); }
.library-page .footer-brand { color: #4b3c52; }
.library-page footer div a, .library-page footer .footer-sections a,
.library-page footer .footer-biz, .library-page footer .footer-biz a { color: #706372; }
.library-page footer .footer-biz { border-top-color: #d6ccd5; }
.library-page footer a:hover, .library-page footer a:focus-visible { color: #442c51; }
.library-home .hero {
  position: relative; isolation: isolate; display: flex; align-items: center;
  min-height: 666px; padding: 92px max(28px,calc((100% - 1120px)/2));
  background: var(--library-night); color: #fcf3e4; overflow: hidden;
}
.library-art { position: absolute; z-index: -2; top: 0; right: 0; width: min(100%,1120px); height: 100%; pointer-events: none; }
.library-art img { width: 100%; height: 100%; object-fit: cover; object-position: right 56%; display: block; }
.library-home .hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#191524 0%,rgba(25,21,36,.97) 22%,rgba(25,21,36,.75) 40%,rgba(25,21,36,.08) 66%,transparent 100%); pointer-events: none; }
.library-home .hero-copy { position: relative; width: 570px; max-width: 100%; }
.library-home .hero .eyebrow { color: #e6c89d; font-weight: 500; font-size: 12px; letter-spacing: .16em; margin-bottom: 31px; }
.library-home .hero .eyebrow span { margin-right: 10px; }
.library-home .hero h1 { font-family: var(--serif); font-size: clamp(38px,4.2vw,58px); font-weight: 600; line-height: 1.48; letter-spacing: -.065em; margin: 0 0 27px; word-break: keep-all; }
.library-home .hero h1 em { color: #ebcca0; font-style: normal; }
.library-home .hero-lead { color: #d5cbd9; font-size: 16px; line-height: 1.95; letter-spacing: -.025em; max-width: 450px; word-break: keep-all; }
.library-home .hero .actions { gap: 16px; margin-top: 34px; }
.library-home .hero .button { background: #edcfa5; color: #302437; min-height: 54px; gap: 29px; font-size: 14px; padding: 14px 22px; font-weight: 750; }
.library-home .hero .button:hover { background: #f9dfb9; }
.library-home .hero .button-secondary { background: transparent; border: 1px solid rgba(232,210,187,.36); color: #f5e8d9; box-shadow: none; }
.library-home .hero .button-secondary:hover { background: rgba(255,255,255,.08); }
.library-home .hero .trust { margin-top: 24px!important; color: #d4c4d0!important; font-size: 11px!important; gap: 6px 10px; font-weight: 400; }
.library-home .hero .trust strong { font-weight: 500; }
.library-home .hero .trust span::before { margin-right: 10px; color: #9b879e; }
.library-home .hero .trust small { display: block; color: #b9aebd; font-size: 11px; margin-top: 7px; }
.library-art-note { position: absolute; right: max(28px,calc((100% - 1120px)/2)); bottom: 22px; color: #d4bdd1; font-size: 9px; letter-spacing: .24em; opacity: .8; }
.library-home .section, .library-home .feature { padding: 94px max(28px,calc((100% - 1120px)/2)); background: var(--paper); }
.library-home .section-head { align-items: center; gap: 65px; margin-bottom: 40px; }
.library-home .eyebrow { color: #80658a; font-size: 11px; font-weight: 600; letter-spacing: .12em; margin-bottom: 18px; }
.library-home .section-head h2, .library-home .feature h2 { font-family: var(--serif); font-size: clamp(27px,2.5vw,35px); line-height: 1.6; font-weight: 600; letter-spacing: -.04em; }
.library-home .section-head > p { max-width: 395px; font-size: 14px; line-height: 1.95; }
.library-home .reason-grid { gap: 35px; }
.library-home .reason-grid article { border: 0; border-top: 1px solid #d3c3b9; padding: 27px 0 0; background: transparent; border-radius: 0; box-shadow: none; }
.library-home .reason-grid b { color: #765f51; font-size: 11px; font-weight: 500; letter-spacing: .08em; }
.library-home .reason-grid h3 { margin: 16px 0 10px; font-size: 18px; font-weight: 650; }
.library-home .reason-grid p { font-size: 14px; line-height: 1.85; max-width: 285px; }
.library-home .library-types { background: #f0ebe6; }
.library-home .type-grid { gap: 15px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.library-home .type-card { border: 1px solid #e0d8d0; border-radius: 8px; padding: 27px 86px 23px 25px; min-height: 233px; background: #fcfaf7; box-shadow: none; filter: none; }
.library-home .type-card:hover, .library-home .type-card:focus-visible { border-color: #bba4bf; box-shadow: 0 8px 24px rgba(63,45,62,.06); transform: translateY(-3px); }
.library-home .type-card .type-number { color: #745b78; background: transparent; font-size: 10px; letter-spacing: .1em; padding: 0; }
.library-home .type-card-title strong { color: #423746; font-size: 19px; line-height: 1.45; }
.library-home .type-card-title small { font-size: 11px; margin-top: 4px; }
.library-home .type-card p { font-size: 13px; line-height: 1.8; }
.library-home .type-card .card-arrow { color: #78637b; font-size: 11px; }
.library-home .type-card .mascot { width: 69px; height: 100px; right: 12px; bottom: 22px; top: auto; opacity: .86; }
.library-home .feature { padding-top: 75px; padding-bottom: 75px; }
.library-home .feature h2 { font-size: 29px; }
.library-home .steps { gap: 34px; }
.library-home .steps > div { padding: 0 0 0 20px; background: transparent; border-left: 1px solid #d7c8d8; border-radius: 0; box-shadow: none; }
.library-home .steps b { color: #78617d; font-family: Georgia,serif; font-size: 22px; font-weight: 400; }
.library-home .steps h3 { font-size: 17px; }
.library-home .steps p { font-size: 13px; line-height: 1.8; }
.library-home .premium-band { position: relative; background: #241c2e; color: #fff6e8; padding: 74px max(28px,calc((100% - 1120px)/2)); }
.library-home .premium-band .eyebrow { color: #d5b887; }
.library-home .premium-band h2 { font-family: var(--serif); font-size: 31px; line-height: 1.65; font-weight: 600; letter-spacing: -.04em; }
.library-home .premium-band > p { color: #cabdce; font-size: 14px; line-height: 1.9; max-width: 640px; }
.library-home .premium-facts { max-width: 680px; border-color: #514058; }
.library-home .premium-facts div { border-color: #514058; }
.library-home .premium-facts dt { color: #c5b4c8; }
.library-home .premium-facts dd { color: #f3dbb6; }
.library-home .premium-band .button { background: #edcfa5; color: #302437; }
.library-home .premium-band .button:hover { background: #f9dfb9; }
.library-home .library-bundle-link { display: inline-flex; align-items: center; min-height: 44px; color: #e8cba2; font-size: 13px; text-decoration: none; border-bottom: 1px solid #75604f; margin-top: 20px; }
.library-home .guide-grid { gap: 0 30px; }
.library-home .guide-card { padding: 26px 0; border: 0; border-top: 1px solid #ddd2c8; border-radius: 0; background: transparent; box-shadow: none; }
.library-home .guide-card:hover { transform: translateY(-2px); box-shadow: none; border-color: #a58bad; }
.library-home .guide-card small, .library-home .guide-card > span { color: #765d7b; font-size: 11px; }
.library-home .guide-card strong { font-size: 18px; line-height: 1.6; font-family: var(--serif); font-weight: 600; }
.library-home .guide-card p { font-size: 13px; line-height: 1.9; }
.library-home .articles-home { padding-top: 0; }
.library-home .closing { padding: 80px 24px; background: #ece5ee; color: #403146; }
.library-home .closing h2 { font-family: var(--serif); font-size: 38px; font-weight: 600; line-height: 1.65; letter-spacing: -.04em; margin-bottom: 14px; }
.library-home .library-closing-copy { font-size: 14px; color: #7a697e; margin: 0 0 28px; }
.library-home .closing .button { background: #554060; color: #fff8ee; }
.library-home .closing .button:hover { background: #3c2947; }
.library-home .closing-alt a { color: #75617b; font-size: 12px; }
.library-product .product-page { max-width: 1060px; }
.library-product .premium-offer { max-width: 760px; }
.library-product .premium-offer h1 { color: #4e385b; }
.library-product .premium-price strong { color: #685071; }
.library-product .product-page > section:not(.premium-bundle-offer) { background: transparent; }
.library-product .premium-purchase-actions .button-secondary { background: transparent; color: #685071; border: 1px solid #c7b7cd; }
.library-product .premium-purchase-actions { align-items: stretch; }
.library-product .premium-license-button { flex-direction: column; gap: 2px; text-align: center; }
.library-product .premium-license-button small { font-size: .75rem; font-weight: 500; line-height: 1.5; }
.library-product .premium-offer .premium-license-button,
.library-product .paid-closing .premium-license-button { background: #efe3d0; color: #493b43; border: 1px solid #cbb594; }
.library-product .premium-offer .premium-license-button:hover,
.library-product .paid-closing .premium-license-button:hover { background: #e7d5b8; }
.library-product .report-sample { background: #fff; }
@media (max-width: 1000px) and (min-width: 761px) {
  .library-home .hero { min-height: 620px; padding-block: 70px; }
  .library-home .hero-copy { width: 510px; }
  .library-home .hero h1 { font-size: 44px; }
  .library-home .hero::after { background: linear-gradient(90deg,#191524 0%,rgba(25,21,36,.94) 24%,rgba(25,21,36,.7) 52%,rgba(25,21,36,.1) 100%); }
  .library-home .type-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .library-page > header { height: 68px; }
  .library-home .hero { display: flex; flex-direction: column; gap: 0; align-items: stretch; min-height: 0; padding: 48px 24px 0; }
  .library-home .hero-copy { width: 100%; }
  .library-home .hero .eyebrow { font-size: 10px; margin-bottom: 23px; }
  .library-home .hero h1 { font-size: clamp(29px,7.8vw,47px); line-height: 1.55; margin-bottom: 19px; letter-spacing: -.055em; }
  .library-home .hero-lead { font-size: 14px; line-height: 1.95; }
  .library-home .hero-lead br { display: none; }
  .library-home .hero .actions { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); margin-top: 27px; gap: 9px; }
  .library-home .hero .button { min-width: 0; min-height: 50px; padding: 12px 10px; gap: 10px; font-size: 12px; }
  .library-home .hero .trust { margin-top: 17px!important; font-size: 10px!important; gap: 5px 8px; }
  .library-home .hero .trust span::before { margin-right: 8px; }
  .library-home .hero .trust small { font-size: 10px; }
  .library-art { display: block; position: relative; z-index: -2; width: calc(100% + 48px); height: clamp(270px,76vw,460px); margin: -12px -24px 0; }
  .library-art img { object-position: 84% 52%; }
  .library-home .hero-copy { order: -1; }
  .library-home .hero::after { inset: auto 0 0; height: clamp(270px,76vw,460px); background: linear-gradient(180deg,#191524 0%,rgba(25,21,36,.25) 28%,transparent 55%,rgba(25,21,36,.25) 100%); }
  .library-art-note { right: 24px; bottom: 12px; font-size: 7px; }
  .library-home .section, .library-home .feature { padding: 58px 24px; }
  .library-home .section-head { flex-direction: column; align-items: flex-start; gap: 21px; margin-bottom: 30px; }
  .library-home .section-head h2, .library-home .feature h2 { font-size: 26px; }
  .library-home .section-head > p { font-size: 13px; }
  .library-desktop-break { display: none; }
  .library-home .reason-grid { grid-template-columns: 1fr; gap: 23px; }
  .library-home .reason-grid article { padding-top: 21px; }
  .library-home .reason-grid h3 { margin-top: 10px; font-size: 17px; }
  .library-home .reason-grid p { max-width: none; font-size: 13px; }
  .library-home .type-grid { grid-template-columns: 1fr; gap: 12px; }
  .library-home .type-card { min-height: 207px; padding: 23px 96px 17px 23px; }
  .library-home .type-card .mascot { width: 72px; right: 12px; }
  .library-home .steps { grid-template-columns: 1fr; gap: 25px; margin-top: 27px; }
  .library-home .premium-band { padding: 55px 24px; }
  .library-home .premium-band h2 { font-size: 25px; }
  .library-home .premium-band > p { font-size: 13px; }
  .library-home .premium-band .button { width: 100%; font-size: 13px; }
  .library-home .library-bundle-link { font-size: 12px; line-height: 1.8; }
  .library-home .guide-grid { grid-template-columns: 1fr; }
  .library-home .guide-card { padding: 23px 0; }
  .library-home .articles-home { padding-top: 0; }
  .library-home .closing { padding: 57px 24px; }
  .library-home .closing h2 { font-size: 30px; }
  .library-home .library-closing-copy { font-size: 12px; }
  .library-product .product-page { padding-inline: 20px; }
}
@media (max-width: 360px) {
  .library-home .hero .actions { grid-template-columns: 1fr; }
  .library-home .hero .button { white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .library-page * { scroll-behavior: auto; transition: none!important; }
}
