@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;1,500&display=swap");

.pwb-system-page {
  --pwb-night: #06131c;
  --pwb-ink: #122b36;
  --pwb-blue: #3a89bd;
  --pwb-ice: #eaf3f6;
  --pwb-paper: #f6f4ef;
  --pwb-warm: #efb33f;
  --pwb-line: rgba(18, 43, 54, 0.16);
  margin: 0;
  background: var(--pwb-paper);
  color: var(--pwb-ink);
  font-family: "DM Sans", Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.pwb-system-page *, .pwb-system-page *::before, .pwb-system-page *::after { box-sizing: border-box; }
.pwb-system-page [hidden] { display: none !important; }
.pwb-system-page h1, .pwb-system-page h2, .pwb-system-page p { margin-top: 0; }
.pwb-system-page a { color: inherit; }
.pwb-system-skip { position: fixed; z-index: 999; top: 8px; left: 8px; padding: 10px 14px; background: #fff; color: #06131c; transform: translateY(-160%); }
.pwb-system-skip:focus { transform: none; }
.pwb-system-shell { width: min(1320px, calc(100% - 9vw)); margin-inline: auto; }

.pwb-system-hero {
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  padding: 170px 0 88px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 82% 28%, rgba(58,137,189,.32), transparent 29%),
    linear-gradient(120deg, #06131c 0%, #092534 67%, #0e4055 100%);
  color: #fff;
}
.pwb-system-hero::after { content: ""; position: absolute; inset: auto -7vw -36% auto; width: 620px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 74px rgba(255,255,255,.025), 0 0 0 148px rgba(255,255,255,.018); }
.pwb-system-hero--withdrawal { background: radial-gradient(circle at 86% 30%, rgba(239,179,63,.18), transparent 28%), linear-gradient(120deg,#06131c,#12333f 72%,#244a52); }
.pwb-system-hero--confirmed { background: radial-gradient(circle at 84% 30%, rgba(58,137,189,.3), transparent 29%), linear-gradient(120deg,#06131c,#0b2d3b 72%,#174b5e); }
.pwb-system-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 230px; align-items: end; gap: 8vw; }
.pwb-system-kicker, .pwb-system-number { display: block; font-size: 11px; font-weight: 700; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; }
.pwb-system-kicker { margin-bottom: 22px; color: rgba(255,255,255,.62); }
.pwb-system-hero h1 { max-width: 940px; margin-bottom: 28px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(54px, 7vw, 108px); font-weight: 500; line-height: .92; letter-spacing: -.05em; text-wrap: balance; }
.pwb-system-hero h1 em { color: var(--pwb-blue); font-weight: 500; }
.pwb-system-hero--withdrawal h1 em { color: var(--pwb-warm); }
.pwb-system-lead { max-width: 740px; margin-bottom: 0; color: rgba(255,255,255,.72); font-size: clamp(17px, 1.35vw, 21px); line-height: 1.67; }
.pwb-system-seal { width: 210px; aspect-ratio: 1; display: grid; place-items: center; align-content: center; gap: 13px; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; text-align: center; }
.pwb-system-seal::before { content: ""; position: absolute; width: 170px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; }
.pwb-system-seal span { font-family: "Playfair Display", Georgia, serif; font-size: 50px; line-height: .8; }
.pwb-system-seal small { color: rgba(255,255,255,.72); font-size: 10px; font-weight: 700; letter-spacing: .12em; line-height: 1.45; text-transform: uppercase; }

.pwb-system-section { padding: clamp(72px, 9vw, 132px) 0; }
.pwb-system-layout { display: grid; grid-template-columns: 1.16fr .84fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.pwb-system-card { padding: clamp(30px, 5vw, 72px); border: 1px solid var(--pwb-line); background: #fff; box-shadow: 0 28px 80px rgba(12,42,53,.07); }
.pwb-system-card--primary { min-height: 500px; }
.pwb-system-number { margin-bottom: 64px; color: #71838b; }
.pwb-system-card h2, .pwb-system-aside h2, .pwb-system-form-intro h2 { margin-bottom: 24px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(38px, 4.3vw, 66px); font-weight: 500; line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.pwb-system-card > p, .pwb-system-aside > p, .pwb-system-form-intro > p { color: #52666f; font-size: 17px; line-height: 1.7; }
.pwb-system-loader { display: flex; gap: 8px; margin-top: 36px; }
.pwb-system-loader i { width: 8px; height: 8px; border-radius: 50%; background: var(--pwb-blue); animation: pwb-system-pulse 1.1s infinite ease-in-out; }
.pwb-system-loader i:nth-child(2) { animation-delay: .14s; }.pwb-system-loader i:nth-child(3) { animation-delay: .28s; }
@keyframes pwb-system-pulse { 0%,80%,100%{opacity:.25;transform:scale(.8)}40%{opacity:1;transform:scale(1)} }
.pwb-system-facts { margin: 44px 0 0; border-top: 1px solid var(--pwb-line); }
.pwb-system-facts div { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--pwb-line); }
.pwb-system-facts dt { color: #71838b; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.pwb-system-facts dd { margin: 0; font-size: 14px; font-weight: 700; text-align: right; }
.pwb-system-aside { padding-top: 38px; }
.pwb-system-aside .pwb-system-number { margin-bottom: 64px; }
.pwb-system-steps { padding: 0; margin: 42px 0 0; list-style: none; border-top: 1px solid var(--pwb-line); }
.pwb-system-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 19px 0; border-bottom: 1px solid var(--pwb-line); }
.pwb-system-steps li > span { color: var(--pwb-blue); font-family: "Playfair Display", Georgia, serif; font-size: 20px; }
.pwb-system-steps p { margin: 0; color: #62747c; font-size: 14px; line-height: 1.55; }
.pwb-system-steps strong { display: block; margin-bottom: 2px; color: var(--pwb-ink); font-size: 14px; }
.pwb-system-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 36px; }
.pwb-system-button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; background: var(--pwb-night); color: #fff !important; text-decoration: none; font-size: 12px; font-weight: 700; }
.pwb-system-textlink { padding: 12px 0; border-bottom: 1px solid currentColor; text-decoration: none; font-size: 12px; font-weight: 700; }

.pwb-system-form-layout { display: grid; grid-template-columns: .6fr 1.4fr; gap: clamp(30px, 6vw, 96px); align-items: start; }
.pwb-system-form-intro { position: sticky; top: 112px; padding-top: 28px; }
.pwb-system-form-intro .pwb-system-number { margin-bottom: 60px; }
.pwb-system-note { margin-top: 42px; padding: 24px; border: 1px solid var(--pwb-line); background: var(--pwb-ice); }
.pwb-system-note strong { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.pwb-system-note p { margin: 10px 0 16px; color: #52666f; font-size: 14px; line-height: 1.6; }
.pwb-system-note a { font-size: 12px; font-weight: 700; text-decoration: none; }
.pwb-system-form-card { padding: clamp(26px, 4.2vw, 64px); }
.pwb-system-form-card .form-section + .form-section { margin-top: 48px; padding-top: 44px; border-top: 1px solid var(--pwb-line); }
.pwb-system-form-card .form-section h3 { margin: 0 0 24px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(28px,3vw,42px); font-weight: 500; letter-spacing: -.03em; }
.pwb-system-form-card .withdraw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pwb-system-form-card .withdraw-field { display: flex; flex-direction: column; gap: 8px; }
.pwb-system-form-card .withdraw-field.full { grid-column: 1 / -1; }
.pwb-system-form-card label { font-size: 12px; font-weight: 700; line-height: 1.4; }
.pwb-system-form-card label span { color: #71838b; font-weight: 500; }
.pwb-system-form-card :is(input,select,textarea) { width: 100%; min-height: 52px; padding: 13px 14px; border: 1px solid rgba(18,43,54,.22); border-radius: 0; background: #fbfcfa; color: var(--pwb-ink); font: inherit; font-size: 14px; }
.pwb-system-form-card textarea { min-height: 118px; resize: vertical; }
.pwb-system-form-card :is(input,select,textarea):focus { outline: 2px solid rgba(58,137,189,.38); outline-offset: 1px; border-color: var(--pwb-blue); }
.pwb-system-form-card .form-privacy { margin: 32px 0 0; color: #667880; font-size: 12px; line-height: 1.6; }
.pwb-system-form-card .submit-row { display: flex; align-items: center; gap: 22px; margin-top: 24px; }
.pwb-system-form-card .submit-row .button { min-height: 54px; padding: 0 22px; border: 0; background: var(--pwb-warm); color: var(--pwb-night); cursor: pointer; font: inherit; font-size: 12px; font-weight: 800; }
.pwb-system-form-card .submit-row small { max-width: 360px; color: #71838b; font-size: 11px; line-height: 1.5; }

.pwb-system-page [data-order-confirmation].is-success .pwb-system-card--primary,
.pwb-system-page [data-withdrawal-confirmation].is-success .pwb-system-card--primary { border-top: 4px solid var(--pwb-blue); }
.pwb-system-page [data-order-confirmation].is-warning .pwb-system-card--primary,
.pwb-system-page [data-withdrawal-confirmation].is-warning .pwb-system-card--primary { border-top: 4px solid var(--pwb-warm); }
.pwb-system-page .pwb-global-footer { margin-top: 0; }

@media (max-width: 900px) {
  html:has(.pwb-system-page), .pwb-system-page { width: 100%; max-width: 100%; overflow-x: clip; }
  .pwb-system-hero { min-height: 560px; padding: 142px 0 68px; }
  .pwb-system-hero-grid, .pwb-system-layout, .pwb-system-form-layout { grid-template-columns: minmax(0, 1fr); }
  .pwb-system-seal { display: none; }
  .pwb-system-layout, .pwb-system-form-layout { gap: 54px; }
  .pwb-system-form-intro { position: static; padding-top: 0; }
  .pwb-system-card--primary { min-height: 0; }
  .pwb-system-aside { padding-top: 0; }
}

@media (max-width: 620px) {
  html:has(.pwb-system-page), .pwb-system-page { width: 100vw; max-width: 100vw; overflow-x: hidden; }
  .pwb-system-page main, .pwb-system-hero, .pwb-system-section { width: 100vw; max-width: 100vw; overflow-x: hidden; }
  .pwb-system-shell { width: auto; max-width: none; margin-right: 18px; margin-left: 18px; }
  .pwb-system-hero-grid, .pwb-system-layout, .pwb-system-form-layout,
  .pwb-system-card, .pwb-system-aside, .pwb-system-form-intro { width: auto; max-width: 100%; min-width: 0; }
  .pwb-system-hero { min-height: 520px; padding: 132px 0 56px; }
  .pwb-system-hero::after { right: -82%; bottom: -12%; width: 510px; }
  .pwb-system-hero h1 { width: 100%; max-width: 340px; font-size: clamp(44px, 13vw, 54px); line-height: .96; white-space: normal; text-wrap: wrap; overflow-wrap: break-word; }
  .pwb-system-lead { width: 100%; max-width: 340px; font-size: 16px; line-height: 1.65; white-space: normal; overflow-wrap: break-word; }
  .pwb-system-section { padding: 58px 0 72px; }
  .pwb-system-card, .pwb-system-form-card { min-width: 0; padding: 27px 20px 32px; }
  .pwb-system-number, .pwb-system-form-intro .pwb-system-number, .pwb-system-aside .pwb-system-number { margin-bottom: 38px; }
  .pwb-system-card h2, .pwb-system-aside h2, .pwb-system-form-intro h2 { max-width: 100%; font-size: clamp(32px, 10vw, 42px); line-height: 1; white-space: normal; text-wrap: wrap; overflow-wrap: break-word; }
  .pwb-system-card > p, .pwb-system-aside > p, .pwb-system-form-intro > p { font-size: 15px; }
  .pwb-system-facts div { grid-template-columns: 1fr; gap: 5px; }
  .pwb-system-facts dd { text-align: left; }
  .pwb-system-form-card .withdraw-grid { grid-template-columns: minmax(0, 1fr); }
  .pwb-system-form-card .withdraw-field.full { grid-column: auto; }
  .pwb-system-form-card .submit-row { align-items: stretch; flex-direction: column; }
  .pwb-system-form-card .submit-row .button { width: 100%; padding: 12px 16px; }
  .pwb-system-actions { align-items: stretch; flex-direction: column; }
  .pwb-system-button { width: 100%; }
  .pwb-system-textlink { width: fit-content; }
}

@media (prefers-reduced-motion: reduce) {
  .pwb-system-loader i { animation: none; opacity: .7; }
}
