.buyer-page {
  --buyer-bg: #151515;
  --buyer-panel: #202020;
  --buyer-rule: #383838;
  --buyer-fg: #f4f4f4;
  --buyer-muted: #c0c0be;
  --buyer-accent: var(--gs-lime, #c1ff00);
  background: var(--buyer-bg);
  color: var(--buyer-fg);
}
.buyer-page .gd-frame { max-width: none; margin: 0; padding: 0; }
.buyer-width { width: min(calc(100% - 3rem), 75rem); margin-inline: auto; }
.buyer-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #121212;
}
.buyer-art {
  position: absolute;
  inset: 0 0 0 39%;
  z-index: -1;
}
.buyer-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.buyer-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #121212 0%, rgb(18 18 18 / 80%) 13%, transparent 55%),
              linear-gradient(0deg, rgb(18 18 18 / 38%), transparent 40%);
}
.buyer-hero-inner { position: relative; display: flex; flex-direction: column; }
.buyer-crumb { display: flex; align-items: baseline; gap: .65rem; padding-top: 1.45rem; color: #d2d2d2; font-size: .875rem; }
.buyer-crumb a { color: inherit; text-decoration: none; }
.buyer-crumb a:hover { text-decoration: underline; text-underline-offset: .22em; }
.buyer-crumb span::before { content: "/"; margin-right: .65rem; color: #a0a09d; }
.buyer-intro { padding-block: clamp(3.5rem, 6vw, 6rem) clamp(4.5rem, 7vw, 7rem); max-width: min(53%, 42rem); }
.buyer-intro h1, .buyer-section h2, .buyer-section h3, .buyer-section p { margin: 0; }
.buyer-intro h1, .buyer-section h2, .buyer-section h3, .buyer-section dt { text-wrap: balance; }
.buyer-intro h1 { font-size: clamp(3rem, 5.3vw, 5.25rem); line-height: 1; letter-spacing: -.055em; font-weight: 730; }
.buyer-intro p { margin: 1.35rem 0 0; max-width: 34rem; font-size: clamp(1.05rem, 1.3vw, 1.28rem); line-height: 1.5; color: #d6d6d4; text-wrap: pretty; }
.buyer-page a.buyer-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  margin-top: 1.8rem;
  padding: .68rem 1.5rem;
  background: var(--buyer-accent);
  border-radius: 2rem;
  color: #151515;
  text-decoration: none;
  text-align: center;
  font-weight: 670;
}
.buyer-page a.buyer-action:hover { background: #d2ff47; }
.buyer-index { border-block: 1px solid var(--buyer-rule); background: #1b1b1b; }
.buyer-index > div { display: flex; flex-wrap: wrap; column-gap: 1.8rem; }
.buyer-index a {
  display: inline-flex; align-items: center; min-height: 3.55rem;
  padding-block: .6rem; color: #dfdfdc; font-size: .94rem; font-weight: 530; text-decoration: none;
}
.buyer-page .buyer-index a:hover, .buyer-page .buyer-text-link:hover { color: var(--buyer-accent); }
.buyer-sections { padding-bottom: clamp(1.5rem, 3vw, 3.5rem); }
.buyer-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.05fr);
  gap: clamp(2rem, 5vw, 5.25rem);
  padding-block: clamp(3rem, 5vw, 5rem);
  scroll-margin-top: 5rem;
}
.buyer-section + .buyer-section { border-top: 1px solid var(--buyer-rule); }
.buyer-section h2 { font-size: clamp(1.85rem, 3.2vw, 3.05rem); line-height: 1.08; font-weight: 690; letter-spacing: -.04em; }
.buyer-section h3, .buyer-section dt, .buyer-section summary { font-size: clamp(1.1rem, 1.55vw, 1.35rem); font-weight: 630; line-height: 1.28; letter-spacing: -.02em; }
.buyer-section p, .buyer-section dd { color: var(--buyer-muted); line-height: 1.62; text-wrap: pretty; }
.buyer-section-body { min-width: 0; }
.buyer-section dl, .buyer-section dd, .buyer-section ol { margin: 0; padding: 0; }
.buyer-section li { margin: 0; }
.buyer-steps { list-style: none; counter-reset: buyer-step; }
.buyer-steps li {
  counter-increment: buyer-step;
  display: grid;
  grid-template-columns: 2.8rem 1fr;
  gap: clamp(.85rem, 2vw, 1.6rem);
}
.buyer-steps li + li { margin-top: 1.3rem; border-top: 1px solid var(--buyer-rule); padding-top: 1.3rem; }
.buyer-steps li::before { content: counter(buyer-step, decimal-leading-zero); color: var(--buyer-accent); font-size: 1.35rem; line-height: 1.25; font-variant-numeric: tabular-nums; font-weight: 600; }
.buyer-steps p, .buyer-cards p, .buyer-list dd { margin-top: .5rem; }
.buyer-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .8rem; }
.buyer-cards article { min-width: 0; border: 1px solid var(--buyer-rule); background: var(--buyer-panel); padding: clamp(1.25rem, 2.2vw, 2.1rem); border-radius: .4rem; }
.buyer-list > div + div, .buyer-comparison > div + div { border-top: 1px solid var(--buyer-rule); }
.buyer-list > div { padding-block: 1.2rem; }
.buyer-list > div:first-child { padding-top: 0; }
.buyer-list > div:last-child { padding-bottom: 0; }
.buyer-comparison { border: 1px solid var(--buyer-rule); border-radius: .4rem; overflow: hidden; }
.buyer-comparison > div { display: grid; grid-template-columns: minmax(8rem, 1fr) minmax(0, 1.8fr); }
.buyer-comparison dt, .buyer-comparison dd { padding: 1.1rem 1.35rem; }
.buyer-comparison dt { background: var(--buyer-panel); }
.buyer-faq details { border-top: 1px solid var(--buyer-rule); }
.buyer-faq details:last-child { border-bottom: 1px solid var(--buyer-rule); }
.buyer-faq summary { list-style: none; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; cursor: pointer; }
.buyer-faq summary::-webkit-details-marker { display: none; }
.buyer-faq summary::after { content: "+"; color: var(--buyer-accent); font-size: 1.4rem; font-weight: 420; line-height: 1; }
.buyer-faq details[open] summary::after { content: "−"; }
.buyer-faq p { margin: -.2rem 2rem 1.3rem 0; }
.buyer-links { display: flex; flex-wrap: wrap; gap: .65rem 1.25rem; margin-top: 1.5rem; }
.buyer-text-link { text-decoration-line: underline; text-underline-offset: .28em; text-decoration-color: #82827d; }
.buyer-section:has(.buyer-matrix), .buyer-section-calculator { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.buyer-matrix { border: 1px solid var(--buyer-rule); border-radius: .45rem; overflow: hidden; }
.buyer-matrix table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.buyer-matrix th, .buyer-matrix td { padding: 1.05rem 1.2rem; vertical-align: top; font-size: 1rem; line-height: 1.4; text-align: left; }
.buyer-matrix th:first-child { width: 32%; }
.buyer-matrix th { font-weight: 600; }
.buyer-matrix thead { background: #282828; }
.buyer-matrix thead th { padding-block: 1.35rem; }
.buyer-matrix tbody tr { border-top: 1px solid var(--buyer-rule); }
.buyer-matrix tbody tr:nth-child(even) { background: #1c1c1c; }
.buyer-matrix td { color: #d4d4d0; }
.buyer-col-name { display: none; }
.buyer-price-field { display: grid; max-width: 24rem; gap: .5rem; margin-bottom: 1.35rem; }
.buyer-price-field label { font-size: 1rem; font-weight: 600; }
.buyer-price-field input {
  min-width: 0; max-width: 100%; padding: .8rem 1rem; border: 1px solid #858581;
  border-radius: .3rem; background: #1c1c1c; color: #fff; font-size: 1.15rem; font-variant-numeric: tabular-nums;
}
.buyer-price-field input[aria-invalid="true"] { border-color: #fa9f92; }
.buyer-price-field #buyer-price-error { color: #ffb2a8; font-size: .94rem; }
.buyer-estimates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.buyer-estimate { display: flex; flex-direction: column; align-items: start; min-width: 0; padding: clamp(1.05rem, 2.3vw, 2rem); border-radius: .45rem; background: var(--buyer-panel); border: 1px solid var(--buyer-rule); }
.buyer-estimate > p { margin: .35rem 0 1.1rem; }
.buyer-estimate dl { align-self: stretch; margin: auto 0 1.15rem; border-block: 1px solid var(--buyer-rule); padding-block: .7rem; }
.buyer-estimate dl > div { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .15rem .65rem; }
.buyer-estimate dl > div + div { margin-top: .45rem; }
.buyer-estimate dt { font-size: .95rem; font-weight: 470; color: var(--buyer-muted); }
.buyer-estimate dd { font-size: 1.1rem; font-weight: 610; color: var(--buyer-fg); overflow-wrap: anywhere; }
.buyer-page .buyer-plan-link { display: inline-flex; align-items: center; min-height: 2.65rem; padding: .45rem .95rem; border: 1px solid #909087; color: var(--buyer-fg); border-radius: 2rem; text-decoration: none; line-height: 1.25; }
.buyer-page .buyer-plan-link:hover { border-color: var(--buyer-accent); color: var(--buyer-accent); }
.buyer-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
[data-buyer-page="gift-certificates"] .buyer-art { display: grid; align-items: center; justify-items: center; padding-left: 15%; }
[data-buyer-page="gift-certificates"] .buyer-art > img { position: absolute; inset: 0; filter: brightness(.65); }
.buyer-voucher {
  position: relative; z-index: 1; transform: rotate(-6deg);
  display: flex; flex-direction: column; justify-content: space-between;
  width: min(91%, 26rem); aspect-ratio: 1.73; padding: clamp(1.2rem, 2.35vw, 2.1rem);
  border-radius: .7rem; border: 1px solid #a4a494; color: #fcfcf2;
  background: linear-gradient(116deg, #151616 5%, #32332c 65%, #181a15 100%);
  box-shadow: 0 1.6rem 3rem #0009, .12rem .17rem 0 #55574a;
}
.buyer-voucher-sign { display: flex; gap: .3rem; align-items: center; font-weight: 790; line-height: 1; letter-spacing: -.06em; font-size: .98rem; }
.buyer-voucher-sign i { width: 1rem; height: 1rem; background: url(/assets/polkaro-logo.svg) left center / auto 100% no-repeat; }
.buyer-voucher strong { font-weight: 590; font-size: clamp(1.35rem, 2.8vw, 2.75rem); line-height: .99; letter-spacing: -.055em; }
.buyer-voucher-terms { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; color: #dbf1a5; border-top: 1px solid #76776a; padding-top: .55rem; font-size: .9rem; }
@media (max-width: 700px) {
  .buyer-matrix { border: 0; border-radius: 0; overflow: visible; }
  .buyer-matrix table, .buyer-matrix tbody, .buyer-matrix tbody tr, .buyer-matrix tbody th { display: block; }
  .buyer-matrix thead { position: absolute; width: 1px; height: 1px; margin: -1px; clip-path: inset(50%); overflow: hidden; }
  .buyer-matrix tbody tr { padding: 1rem; border: 1px solid var(--buyer-rule); border-radius: .4rem; background: var(--buyer-panel); }
  .buyer-matrix tbody tr + tr { margin-top: .65rem; }
  .buyer-matrix tbody th:first-child { width: auto; padding: 0 0 .65rem; font-size: 1.08rem; }
  .buyer-matrix td { display: grid; grid-template-columns: minmax(6rem, .85fr) minmax(0, 1.4fr); gap: .7rem; padding: .5rem 0; }
  .buyer-matrix td + td { border-top: 1px solid var(--buyer-rule); }
  .buyer-matrix td:last-child { padding-bottom: 0; }
  .buyer-col-name { display: inline; color: #a9aaa5; font-size: .94rem; }
  .buyer-estimates { grid-template-columns: 1fr; }
  .buyer-estimate { padding: 1.2rem; }
}
@media (max-width: 800px) {
  .buyer-intro { max-width: 60%; }
  .buyer-section { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (min-width: 641px) and (max-width: 800px) {
  [data-buyer-page="gift-certificates"] .buyer-intro { max-width: 51%; }
  [data-buyer-page="gift-certificates"] .buyer-intro h1 { font-size: 2.6rem; }
}
@media (max-width: 640px) {
  .buyer-width { width: calc(100% - 2.25rem); }
  .buyer-hero { display: flex; flex-direction: column; }
  .buyer-art { position: relative; z-index: 0; inset: auto; order: 2; width: 100%; aspect-ratio: 2.4; }
  .buyer-art::after { background: linear-gradient(180deg, #121212, transparent 37%); }
  [data-buyer-page="gift-certificates"] .buyer-art { aspect-ratio: 1.95; min-height: 11rem; padding: .95rem; }
  .buyer-voucher { width: min(61%, 19rem); padding: .9rem 1rem; border-radius: .45rem; transform: rotate(-5deg); }
  .buyer-voucher-sign { font-size: .76rem; }
  .buyer-voucher-sign i { width: .78rem; height: .78rem; }
  .buyer-voucher-terms { font-size: .77rem; padding-top: .32rem; }
  .buyer-crumb { padding-top: 1.1rem; }
  .buyer-intro { max-width: 100%; padding-block: 2.6rem 1rem; }
  .buyer-intro h1 { font-size: clamp(2.45rem, 9.2vw, 3.35rem); }
  .buyer-intro p { margin-top: 1rem; }
  .buyer-page a.buyer-action { margin-top: 1.25rem; }
  .buyer-index > div { gap: 0 1.1rem; padding-block: .55rem; }
  .buyer-index a { min-height: 2.6rem; }
  .buyer-section { padding-block: 2.7rem; }
  .buyer-comparison > div { display: block; padding: 1.1rem; }
  .buyer-comparison dt, .buyer-comparison dd { padding: 0; background: none; }
  .buyer-comparison dd { margin-top: .45rem; }
  .buyer-sections { padding-bottom: 1rem; }
}
