@font-face { font-family: "Open Sans"; src: url("/assets/opensans.woff2") format("woff2"); font-style: normal; font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("/assets/playfairdisplay.woff2") format("woff2"); font-style: normal; font-weight: 400 700; font-display: swap; }
:root {
  color-scheme: light;
  --paper: #f5f5f5;
  --white: #fff;
  --ink: #2d2d2d;
  --muted: #4a4a4a;
  --line: #dedede;
  --action: #996b51;
  --action-hover: #70482e;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Open Sans", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 0; color: var(--ink); background: var(--paper); font: 16px/1.5 var(--sans); }
a { color: inherit; text-underline-offset: 3px; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .65; cursor: progress; }
:focus-visible { outline: 3px solid #70482e; outline-offset: 4px; }
.skip { position: fixed; inset: 10px auto auto 10px; z-index: 2; padding: 9px; background: white; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.loading { padding: 25px; }
.shell { min-height: 100svh; display: flex; flex-direction: column; }
.bar {
  display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 12px;
  min-height: 108px; padding: 15px max(24px, calc((100% - 1170px) / 2));
  border-top: 5px solid #faf9f8; border-bottom: 1px solid var(--line); background: white;
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; }
.brand-frame {
  display: block; width: 42px; height: 42px; overflow: hidden; border-radius: 50%; flex: none;
}
.brand-mark { display: block; width: 100%; height: 100%; object-fit: cover; }
.tight-logo .brand-mark { transform: scale(1.2); }
.bar-link { font-size: .82rem; font-weight: 650; text-decoration: none; justify-self: end; text-align: right; }
.bar-back { justify-self: start; text-align: left; }
.bar-link:hover, .home-support a:hover { text-decoration: underline; }
.footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
  width: min(100% - 48px, 1170px); margin: auto auto 0; border-top: 1px solid var(--line);
  padding: 17px 0 21px; color: var(--muted); font-size: .78rem;
}
.footer > span { min-width: 0; overflow-wrap: anywhere; }
.mode { display: inline-flex; gap: 7px; align-items: center; }
.mode span { width: 7px; height: 7px; border-radius: 50%; background: #9b5e32; flex: none; }

body:has(.home-shell) { background: #93adb4; }
.home-shell {
  width: min(100%, 580px); min-height: calc(100svh - 40px); margin: 40px auto 0;
  overflow: hidden; border-radius: 23px 23px 0 0;
  background: url("/assets/r2-confetti.png") center / 100% 100% no-repeat, #d1f6ff;
  box-shadow: 0 7px 30px #465a6555;
  font-family: Arial, sans-serif;
}
.home { width: calc(100% - 56px); margin: 0 auto; padding: 104px 0 34px; }
.home-title { margin-bottom: 30.8px; text-align: center; color: #083170; }
.home-title .brand-frame { width: 96px; height: 96px; margin: 0 auto 13px; }
h1, h2, p { margin: 0; }
h1, h2 { font: 400 2.1rem/1.17 var(--serif); overflow-wrap: anywhere; }
.home h1 { font: 600 24px/33px Arial, sans-serif; }
.home-title p { margin: 3px auto 0; font-size: .9rem; line-height: 20px; }
.route-list { display: grid; gap: 14px; }
.route {
  position: relative; display: grid; place-items: center; min-height: 64px; padding: 12px 52px;
  border-radius: 8px; color: #083170; background: #fff; text-align: center; text-decoration: none;
  font-size: 16px; line-height: 18px; font-weight: 500;
  box-shadow: rgba(17,17,17,.02) .3px .5px .7px, rgba(17,17,17,.027) .9px 1.8px 2.5px -.6px,
    rgba(17,17,17,.03) 2px 4px 5.5px -1.2px, rgba(17,17,17,.035) 4.6px 9.3px 12.8px -1.7px;
  transition: transform .18s;
}
.route:hover { transform: scale(1.02); }
.route-label { min-width: 0; overflow-wrap: anywhere; }
.paypal-icon { position: absolute; left: 16px; width: 38px; height: 43px; object-fit: contain; }
.whatsapp-mark {
  position: absolute; left: 16px; width: 32px; height: 32px; overflow: hidden;
  border-radius: 8px; background: #fff;
}
.whatsapp-mark img { position: absolute; width: 182px; height: 42px; max-width: none; top: -4px; left: -5px; }
.home-support { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 20px; margin: 56px 0 0; color: #083170; }
.home-support a { font-size: .75rem; text-underline-offset: 3px; }
.home-shell .footer { justify-content: center; border: 0; color: #083170; padding-bottom: 16px; text-align: center; }
.home-shell .footer > span:first-child { display: none; }

.product-mode {
  display: grid; place-items: center; min-height: 38px; background: #e8e8e8; color: #4a4a4a;
  font-size: 12px; text-align: center;
}
.product-shell .bar { min-height: 155px; border: 0; padding-inline: max(24px, calc((100% - 1328px) / 2)); }
.product-shell .bar .brand-frame { width: 98px; height: 98px; }
.bar-nav { display: flex; align-items: center; gap: 22px; }
.product-shell .bar-link { font-size: 14px; font-weight: 700; }
.interior {
  width: min(calc(100% - 48px), 1200px); margin: 142px auto 44px; padding: 85.4px 106.67px 95px;
  display: grid; grid-template-columns: minmax(0, 493.33fr) minmax(0, 453.83fr); gap: 39.5px; align-items: start;
  background: #fff;
}
.payment-art { min-width: 0; margin: 0; position: relative; }
.payment-art img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.art-zoom { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #ffffffd9; }
.art-zoom::before { content: ""; position: absolute; top: 8px; left: 8px; width: 13px; height: 13px; border: 2px solid #555; border-radius: 50%; }
.art-zoom::after { content: ""; position: absolute; top: 20px; left: 20px; width: 8px; height: 2px; background: #555; transform: rotate(45deg); }
.art-preview { max-width: min(100% - 28px, 790px); width: 100%; text-align: right; }
.art-preview img { width: min(100%, 660px); height: auto; display: block; margin: 8px auto 0; }
.payment-content { min-width: 0; font: 400 16px/26.4px var(--sans); }
.payment-trail { display: flex; flex-wrap: wrap; gap: 0 5px; margin: 0 0 8px; color: #707070; font-size: 14px; }
.payment-trail a { text-decoration: none; }
.payment-trail a:hover { text-decoration: underline; }
.product-category { margin: 0 0 12.4px; }
.product-balance .product-price { margin-bottom: 5px; }
.interior h1 { font: 400 26px/31.2px var(--serif); color: #2d2d2d; }
.product-advance h1 { min-height: 62.4px; }
.product-price { margin: 13px 0 16px; color: #4a4a4a; font: 700 24px/26.4px var(--sans); }
.product-description { color: #4a4a4a; }
.product-deposit .product-description, .product-advance .product-description { min-height: 285px; }
.balance-notice { padding: 12px 15px; border: 1px dashed #333; border-radius: 6px; }
.balance-notice strong { color: #996b51; font: 700 16px/26.4px var(--serif); }
.balance-notice p { margin: 4px 0; }
.product-balance .product-description { min-height: 260px; }
.earning { margin: 0 0 24px; color: #555; font-size: 14px; }
.product-balance .earning { margin-bottom: 36.9px; }
.interior .section { margin-bottom: 16px; }
.product-balance .section { margin: 0; }
.product-balance .product-amount-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(100%); }
.chosen-price { min-height: 26px; margin-bottom: 38px; font-size: 20px; }
.payment-rules { margin: 20px 0 5px; padding-left: 44px; }
.payment-rules li + li { margin-top: 13px; }
.product-deposit .choices { padding-left: 4px; }
.interior .section { position: relative; }
.clear-choice { position: absolute; right: 0; bottom: -20px; background: transparent; color: #4a4a4a; border: 0; padding: 0; text-transform: uppercase; font-size: 11px; text-decoration: underline; }
.product-deposit .earning { margin-bottom: 48px; }
.product-deposit .chosen-price { margin-bottom: 97.4px; }
.product-balance .earning { min-height: 33.5px; }
.plain { display: inline-block; margin-top: 19px; font-size: 14px; }
.back { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; font-size: .88rem; font-weight: 650; text-decoration: none; margin-bottom: 19px; }
.back:hover { text-decoration: underline; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: clamp(20px, 3.6vw, 36px); box-shadow: 0 10px 30px #2138480a; }
.section { min-width: 0; padding: 0; border: 0; margin: 0 0 22px; }
.section legend { padding: 0; margin-bottom: 9px; font-size: .98rem; font-weight: 700; }
.choices { display: flex; flex-wrap: wrap; gap: 7px; }
.choice { position: relative; min-width: 0; }
.choice input { position: absolute; opacity: 0; }
.choice span {
  display: grid; min-height: 30px; height: 100%; place-items: center; padding: 0 6px;
  border: 1px solid #a8a8a8; border-radius: 2px; cursor: pointer; text-align: center;
  font-size: 16px; line-height: 28px; overflow-wrap: anywhere;
}
.choice input:checked + span { border-color: #000; box-shadow: inset 0 0 0 1px #000; }
.choice input:focus-visible + span { outline: 3px solid #70482e; outline-offset: 3px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px; }
.field { display: grid; align-content: start; gap: 4px; min-width: 0; font-size: .84rem; font-weight: 650; }
.field small { color: var(--muted); font-size: .76rem; font-weight: 400; }
.field-note { grid-column: 1 / -1; }
input:not([type=radio],[type=hidden],[type=checkbox]), textarea {
  width: 100%; min-width: 0; min-height: 43px; padding: 9px 10px; background: #fff;
  border: 1px solid #dedede; border-radius: 5px; color: var(--ink); font-size: 1rem;
}
textarea { resize: vertical; }
.choices + .amount-entry { margin-top: 12px; }
.amount-entry { max-width: 206px; }
.quantity { display: grid; grid-template-columns: repeat(3, 55px); gap: 7px; }
.quantity input:not([type]) { width: 55px; text-align: center; height: 48px; min-height: 0; border-radius: 8px; font-size: 18px; font-weight: 600; padding: 0; }
.quantity button { height: 48px; background: #f4f4f4; color: #333; border: 0; border-radius: 8px; }
.quantity button:hover { background: #e8e8e8; }
.card-bottom { display: flex; gap: 15px; align-items: center; }
.card-bottom p, dialog p { color: var(--muted); font-size: .82rem; }
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 12px; text-align: center;
  min-height: 46px; padding: 10px 16px; border: 1px solid var(--action); border-radius: 6px;
  background: var(--action); color: #fff; text-decoration: none; font-size: .94rem; font-weight: 680; overflow-wrap: anywhere;
}
.button:hover { background: var(--action-hover); }
.button.outline { background: transparent; color: var(--action-hover); }
.button.outline:hover { background: #f6f1eb; }
.card-bottom .button {
  flex: 1; min-height: 50px; border: 0; background: #c5a086; color: white; border-radius: 8px;
  font: 600 16px/26.4px var(--sans); box-shadow: 0 4px 10px #c5a08666;
}
.card-bottom .button:hover { background: #ae8567; }
.product-advance .card-bottom { justify-content: flex-end; margin-top: 117px; }
.product-advance .card-bottom .button { flex: 0 0 57.25%; }
.review-page { width: min(100% - 48px, 1200px); margin: 66px auto 60px; background: #fff; padding: 35px clamp(18px, 5vw, 85px); scroll-margin-top: 12px; }
.review-page h1 { font-size: 26px; margin-bottom: 35px; }
.review-page .facts { padding: 12px 0; background: white; }
.review-page .facts > div { border-bottom: 1px solid #e5e5e5; padding: 12px 0; }
.review-page .field .required { color: #a00; }
.review-page .field :is(input,textarea,select) { border-radius: 2px; }
.field select { width: 100%; min-width: 0; min-height: 43px; padding: 9px; color: var(--ink); background: white; border: 1px solid var(--line); font: inherit; }
.review-paypal { display: flex; align-items: center; justify-content: space-between; }
.review-paypal img { object-fit: contain; }
.review-page form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 32px; }
.review-page .section legend { font: 400 24px/1.3 var(--serif); margin-bottom: 16px; }
.review-page .fields { gap: 17px; }
.review-page .field:not(.field-firstName,.field-lastName) { grid-column: 1/-1; }
.order-summary { align-self: start; padding: 20px; border: 1px solid #e4e4e4; }
.order-summary h2 { font-size: 24px; }
.order-summary > p { margin: 0 0 13px; font-size: 14px; }
.review-paypal { min-height: 40px; padding: 8px 0; border-top: 1px solid #eee; font-weight: 700; }
.result-mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 9px;
  font-size: 1.2rem; font-weight: 700;
}
.error { border-left: 3px solid #9a3a2d; background: #f9e8e2; color: #752c23 !important; padding: 8px 11px; margin: 0 0 12px; font-size: .85rem; }
.simple { width: min(100% - 48px, 660px); margin: 0 auto; padding: 35px 0 55px; }
.info h1 { margin-bottom: 14px; }
.info > p { margin-bottom: 18px; color: var(--muted); }
.info-links, .simulation, .dialog-actions { display: flex; align-items: center; gap: 11px 15px; flex-wrap: wrap; }
.simulation { display: grid; }
.rules { margin: 0 0 18px; padding-left: 22px; }
.rules li + li { margin-top: 9px; }
.policy-title { margin: 10px 0 12px; font-size: 1.55rem; }
.terms-consent { display: grid; grid-template-columns: 17px minmax(0,1fr); gap: 8px; align-items: start; margin: 0 0 12px; font-size: .84rem; }
.terms-consent input { margin: 4px 0 0; accent-color: var(--action); }
.facts { padding: 12px 14px; margin: 15px 0 20px; border-radius: 8px; background: #f7f7f7; }
.facts div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .9rem; }
.facts div + div { margin-top: 6px; }
.facts dd { margin: 0; text-align: right; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.result-mark { margin-bottom: 10px; background: #deeee3; color: #345a44; }
.result-mark.failed { color: #8a3227; background: #f5e2dd; }
dialog { border: 1px solid var(--line); border-radius: 12px; width: min(100% - 34px, 480px); padding: 24px; color: var(--ink); background: #fff; }
dialog::backdrop { background: #3f2637aa; }
dialog h2 { font-size: 1.9rem; }
dialog .section { margin-bottom: 13px; }
.dialog-actions { margin-top: 16px; }
dialog .error { margin: 12px 0 0; }
@media (max-width: 1080px) and (min-width: 701px) {
  .interior { padding-inline: 42px; gap: 26px; }
}
@media (max-width: 700px) {
  body:has(.product-shell) { background: #fdfbfa; }
  .bar { min-height: 72px; padding: 8px 17px; }
  .bar-nav { gap: 9px; flex-wrap: wrap; }
  .product-mode { min-height: 24px; font-size: 10px; background: white; }
  .product-shell .bar { min-height: 49px; padding-block: 3px; }
  .product-shell .bar .brand-frame { width: 43px; height: 43px; }
  .product-shell .bar-link { font-size: 10px; }
  .footer { width: calc(100% - 32px); }
  .home-shell { min-height: 100svh; margin: 0 auto; border-radius: 0; box-shadow: none; }
  .home { width: calc(100% - 28px); }
  .interior { display: block; width: calc(100% - 17.2px); margin: 110.8px auto 28px; padding: 8.6px 16px 35px; }
  .payment-art { margin: 0 0 31.3px; }
  .product-deposit .payment-art, .product-advance .payment-art { margin-bottom: 57.7px; }
  .payment-trail { margin-bottom: 9px; }
  .product-description { margin-bottom: 0; }
  .product-deposit .product-description, .product-advance .product-description { min-height: 338.5px; }
  .payment-rules { margin-top: 15px; padding-left: 31px; }
  .payment-rules li + li { margin-top: 10px; }
  .deposit-break { display: none; }
  .product-deposit .earning { margin-bottom: 38px; }
  .product-deposit .chosen-price { margin-bottom: 107.4px; }
  .product-balance .earning { min-height: 26.4px; margin-bottom: 43px; }
  .product-balance .product-description { min-height: 287px; }
  .card-bottom { gap: 14px; }
  .product-advance .card-bottom { margin-top: 154px; }
  .product-advance .card-bottom .button { flex-basis: 46.6%; }
  .quantity { grid-template-columns: 50px 55px 51px; gap: 6px; }
  .simple { width: calc(100% - 32px); padding: 19px 0 34px; }
  .review-page { width: calc(100% - 18px); margin-top: 25px; }
  .review-page form { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .home h1 { font-size: 24px; }
  .route { font-size: 15px; padding-inline: 44px; }
  .fields { grid-template-columns: minmax(0,1fr); }
  .review-page .fields { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .dialog-actions { gap: 8px; }
  .dialog-actions .button { padding-inline: 11px; font-size: .86rem; }
  .footer { font-size: .71rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
