
:root { --b-w: 1050px; --b-sand: #f2cf7d; }
.bwrap { max-width: calc(var(--b-w) + 64px); margin: 0 auto; padding: 0 32px; }
.b-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
main.b-main > section + section { margin-top: 0; }

.bt1 { --t: var(--yellow); --tt: var(--b-sand); }
.bt2 { --t: var(--mint); --tt: var(--sky-2); }
.bt3 { --t: var(--lilac); --tt: #e6e0d0; }
.bt4 { --t: #e3eee6; --tt: #cfe2d4; }
.bt5 { --t: var(--warm); --tt: #ebe5d6; }
.bt6 { --t: var(--grey); --tt: #e4e6e2; }

.bh { margin-top: var(--hdm, -84px); padding: 150px 0 72px; background: var(--warm); text-align: center; }
.b-badge { display: inline-block; padding: 10px 15px 9px; border-radius: 90px; background: var(--b-sand); color: #000; font-size: 14px; font-weight: 500; line-height: 17px; letter-spacing: .02em; text-transform: uppercase; }
.bh h1 { margin: 25px auto 0; max-width: 900px; font-size: 46px; line-height: 57px; letter-spacing: -1.5px; text-wrap: balance; }
.bh-page { margin: 14px 0 0; font-size: 16px; line-height: 24px; color: #4c524e; }

.bf { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 94px 0 35px; }
.bf-tabs { display: flex; flex-wrap: nowrap; align-items: center; margin: 0; padding: 0; border: 0; min-width: 0; }
.bf-tabs legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.bf-tab { position: relative; display: inline-flex; align-items: center; height: 54px; padding: 0 15px; border: 2px solid transparent; border-radius: 50px; font-size: 18px; line-height: 27px; cursor: pointer; white-space: nowrap; transition: border-color .2s; }
.bf-tab input { position: absolute; opacity: 0; pointer-events: none; font-size: 16px; }
.bf-tab:hover { border-color: var(--line); }
.bf-tab:has(input:checked), .bf-tab.on { border-color: var(--ink); }
.bf-tab:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.bf-search { position: relative; flex: 0 0 280px; }
.bf-search svg { position: absolute; left: 0; top: 7px; width: 20px; height: 20px; color: #333; }
.bf-search input { width: 100%; height: 38px; padding: 1px 12px 9px 29px; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; background: transparent; font: inherit; font-size: 16px; line-height: 21px; letter-spacing: -.32px; color: var(--ink); outline: none; -webkit-appearance: none; appearance: none; }
.bf-search input::placeholder { color: #767b78; }
.bf-search input:focus-visible { border-bottom-color: var(--accent); }
.bf-search input::-webkit-search-cancel-button { -webkit-appearance: none; }

.bgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 57px 22px; margin: 0; padding: 0; list-style: none; }
.bc { min-width: 0; }
.bc a { display: block; color: inherit; }
.bc-frame { position: relative; display: block; padding: 14px; border-radius: 7px; background: var(--t); }
.bc-pic { display: block; overflow: hidden; border-radius: 4px; }
.bc-pic img { display: block; width: 100%; height: auto; aspect-ratio: 307 / 233; object-fit: cover; transition: transform .4s; }
.bc a:hover .bc-pic img { transform: scale(1.03); }
.bc-tag { position: absolute; top: 24px; left: 24px; padding: 6px 10px; border-radius: 21px; background: var(--tt); color: #000; font-size: 14px; font-weight: 500; line-height: 17px; letter-spacing: .02em; text-transform: uppercase; }
.bc-title { margin: 22px 0 0; max-width: 286px; font-size: 18px; font-weight: 400; line-height: 23px; letter-spacing: -.375px; }
.bc a:hover .bc-title { text-decoration: underline; text-underline-offset: 3px; }
.bc a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
.b-empty { margin: 0; padding: 40px 0; text-align: center; font-size: 18px; color: var(--muted); }
.bhub-list .pg { margin-top: 57px; }
.bhub-list { padding-bottom: 94px; }
.b-upd { margin: 57px 0 0; text-align: center; font-size: 14px; line-height: 20px; color: var(--muted); }

.a-prose .tablewrap tr.b-src td { position: static; background: #fff; color: var(--muted); font-size: 14px; font-weight: 400; line-height: 20px; }
.a-prose .b-calc { margin: 8px 0 28px; padding: 18px 22px 16px; border-radius: 10px; background: var(--grey); }
.a-prose .b-calc figcaption { margin: 0 0 8px; font-size: 16px; font-weight: 600; line-height: 24px; }
.a-prose .b-calc table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 24px; font-variant-numeric: tabular-nums; }
.a-prose .b-calc td { padding: 6px 0; vertical-align: top; }
.a-prose .b-calc td + td { padding-left: 16px; text-align: right; white-space: nowrap; }
.a-prose .b-calc tr.b-sub td:first-child { padding-left: 18px; color: #4c524e; }
.a-prose .b-calc tr.b-gap td { padding-top: 18px; }
.a-prose .b-calc tr.b-total td { padding-top: 9px; border-top: 1.5px solid var(--ink); font-weight: 600; }
.a-prose .b-rule { display: block; margin: 6px 0; border-top: 1px solid currentColor; opacity: .35; }
.a-prose pre.b-prompt code { white-space: pre-wrap; overflow-wrap: anywhere; }

.bnews-wrap { padding-top: 140px; }   
.bnews { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 38px; min-height: 303px; padding: 57px; border-radius: 28.5px; background: var(--mint); overflow: hidden; }
.bnews h2 { position: relative; z-index: 1; max-width: 389px; margin: 0; font-size: 35.6px; font-weight: 500; line-height: 44px; letter-spacing: -.7px; color: var(--navy-2); }
.bnews-bolt { position: absolute; right: 14px; top: 0; width: 261px; height: 256px; background: var(--navy-2); clip-path: polygon(30% 0, 100% 0, 52% 40%, 92% 40%, 18% 100%, 46% 56%, 6% 56%); opacity: .95; }
.bnews form { position: relative; z-index: 1; flex: 0 0 304px; margin-right: 0; }
.bnews label { display: block; margin-bottom: 8px; font-size: 16px; font-weight: 600; line-height: 22px; color: #000; }
.bnews .row { display: flex; align-items: center; height: 64px; padding: 6px 6px 6px 22px; border: 2px solid var(--navy-2); border-radius: 40px; background: #fff; }
.bnews input { flex: 1; min-width: 0; border: 0; font: inherit; font-size: 16px; color: var(--ink); outline: none; background: transparent; }
.bnews input::placeholder { color: #767b78; }
.bnews button { height: 48px; padding: 0 22px; border-radius: 40px; background: var(--b-sand); color: #000; font-size: 16px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.bnews button:hover { filter: brightness(.95); }
.bnews .row:focus-within { box-shadow: 0 0 0 3px rgba(143,210,153,.55); }

.brel { padding: 93px 0 94px; overflow-x: clip; }
.brel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.brel-head h2 { margin: 0; font-size: 46px; line-height: 57px; letter-spacing: -1.5px; }
.brel-arrows { display: flex; gap: 10px; margin-right: 60px; }
.brel-arrows button { width: 50px; height: 50px; border-radius: 50%; background: var(--warm); display: grid; place-items: center; color: #000; transition: background .2s, opacity .2s; }
.brel-arrows button svg { width: 20px; height: 20px; }
.brel-arrows button:hover { background: var(--sky-2); }
.brel-arrows button:disabled { opacity: .45; cursor: default; background: var(--warm); }
.brel-arrows button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.brel-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 312px; gap: 24px; margin: 0 calc(50% - 50vw) 0 0; padding: 0 32px 4px 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; list-style: none; }
.brel-rail::-webkit-scrollbar { display: none; }
.brel-rail .bc { scroll-snap-align: start; }
.brel-rail .bc-pic img { aspect-ratio: 283 / 232.5; }   

@media (max-width: 1240px) {
  .bf { flex-direction: column-reverse; align-items: stretch; }
  .bf-search { flex-basis: auto; max-width: 420px; }
  .bf-tabs { flex-wrap: wrap; row-gap: 6px; }
}
@media (max-width: 991px) {
  .bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bnews { flex-direction: column; align-items: flex-start; }
  .bnews form { flex: none; width: 100%; max-width: 420px; }
}
@media (max-width: 760px) {
  .bwrap { padding: 0 5vw; }   
  .bh { margin-top: var(--hdm, -68px); padding: 134px 0 65px; }
  .b-badge { padding: 9px 13px 8px; }
  .bh h1 { margin-top: 22px; font-size: 25.6px; line-height: 31.7px; letter-spacing: -1.36px; }
  .bf { margin: 84px 0 40px; gap: 34px; }
  .bf-search { max-width: none; }
  .bf-tabs { justify-content: center; row-gap: 0; }
  .bf-tab { height: 48.4px; padding: 0 16px; font-size: 17px; }
  .bgrid { grid-template-columns: 1fr; gap: 51px; }
  .bc-frame { padding: 12px; border-radius: 6.4px; }
  .bc-pic img { aspect-ratio: 325 / 208; }
  .bc-tag { top: 20px; left: 21px; }
  .bc-title { margin-top: 20px; max-width: 256px; font-size: 16px; line-height: 20.8px; }
  .bhub-list .pg { margin-top: 51px; }
  .b-upd { margin-top: 44px; }
  .bhub-list { padding-bottom: 64px; }
  .a-prose .b-calc { padding: 14px 14px 12px; }
  .a-prose .b-calc tr.b-sub td:first-child { padding-left: 12px; }
  .bnews-wrap { padding-top: 78px; }
  .bnews { min-height: 0; padding: 25.6px; border-radius: 25.6px; gap: 25.6px; }
  .bnews h2 { max-width: none; font-size: 22.2px; line-height: 27.5px; letter-spacing: -.4px; }
  .bnews-bolt { display: none; }   
  .bnews .row { height: 56px; padding-left: 16px; }
  .bnews button { height: 42px; padding: 0 16px; }
  .brel { padding: 64px 0; }
  .brel-head { margin-bottom: 28px; }
  .brel-head h2 { font-size: 25.6px; line-height: 31.7px; letter-spacing: -.8px; }
  .brel-arrows { margin-right: 0; }
  .brel-arrows button { width: 44px; height: 44px; }
  .brel-rail { grid-auto-columns: 90.4%; gap: 20px; padding-right: 5vw; }
  .brel-rail .bc-pic img { aspect-ratio: 291.7 / 208.5; }
}
@media (prefers-reduced-motion: reduce) {
  .bc-pic img { transition: none; }
  .bc a:hover .bc-pic img { transform: none; }
}
