:root {
  --vs-teal: #2A8E9E;
  --vs-dark: #08424E;
  --vs-accent: #36A18B;
  --vs-medium: #488A98;
  --vs-text: #0C2C36;
  --vs-white: #FFFFFF;
  --vs-light: #F0F6F6;
  --vs-soft: #F5F9F9;
  --vs-gray: #737373;
  --vs-gray-lt: #a3a3a3;
  --vs-border: #E3E9F1;
  --vs-err: #C04341;
  --vs-warn: #D4A853;
  --font-h: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --font-b: 'Inter', 'Segoe UI', sans-serif;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --sh-sm: 0 1px 3px rgba(8, 66, 78, .04), 0 1px 2px rgba(8, 66, 78, .02);
  --sh-md: 0 4px 12px rgba(8, 66, 78, .06), 0 2px 4px rgba(8, 66, 78, .03);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: var(--font-b);
  color: var(--vs-text);
  -webkit-font-smoothing: antialiased;
  background: var(--vs-white);
  min-height: 100vh;
  overscroll-behavior: none;
}
.pbg { position: fixed; inset: 0; background: linear-gradient(170deg, var(--vs-soft) 0%, var(--vs-white) 40%, var(--vs-white) 70%, var(--vs-soft) 100%); z-index: 0; }
.pdeco { position: fixed; top: 0; right: 0; width: 50%; height: 100%; background: radial-gradient(ellipse at 100% 0%, rgba(42, 142, 158, .04) 0%, transparent 60%); z-index: 0; pointer-events: none; }
.wrap { position: relative; z-index: 1; max-width: 580px; margin: 0 auto; padding: 32px 24px 64px; min-height: 100vh; display: flex; flex-direction: column; }

/* HEADER */
.hdr { display: flex; align-items: center; justify-content: center; padding: 0 0 40px; }

/* HERO */
.hero { text-align: center; margin-bottom: 36px; animation: fadeUp .7s ease-out; }
.hero-ey { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 500; letter-spacing: .2em; color: var(--vs-teal); text-transform: uppercase; margin-bottom: 20px; }
.hero-ey::before { content: ''; width: 6px; height: 6px; background: var(--vs-accent); border-radius: 50%; animation: pulse 2s infinite; }
.hero h1 { font-family: var(--font-h); font-size: clamp(26px, 5.5vw, 38px); font-weight: 300; color: var(--vs-dark); line-height: 1.2; letter-spacing: -.02em; margin-bottom: 16px; }
.hero h1 span { font-weight: 500; }
.hero p { font-size: 15px; font-weight: 400; line-height: 1.65; color: var(--vs-gray); max-width: 420px; margin: 0 auto; }

/* TRUST */
.trust { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; animation: fadeUp .7s ease-out .1s both; }
.trust-i { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--vs-gray); }
.trust-d { width: 16px; height: 16px; border-radius: var(--r-sm); background: rgba(42, 142, 158, .08); display: flex; align-items: center; justify-content: center; }
.trust-d svg { width: 10px; height: 10px; fill: var(--vs-teal); }

/* PROGRESS */
.prog { margin-bottom: 28px; animation: fadeUp .7s ease-out .15s both; }
.prog-s { display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.pdot { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-b); font-size: 14px; font-weight: 600; background: var(--vs-white); border: 2px solid var(--vs-border); color: var(--vs-gray-lt); transition: all .4s ease; flex-shrink: 0; }
.pdot.now { background: var(--vs-dark); border-color: var(--vs-dark); color: var(--vs-white); box-shadow: 0 4px 14px rgba(8, 66, 78, .2); }
.pdot.ok { background: var(--vs-accent); border-color: var(--vs-accent); color: var(--vs-white); }
.pline { width: 48px; height: 2px; background: var(--vs-border); transition: background .4s; }
.pline.ok { background: var(--vs-accent); }
.plbl { text-align: center; font-size: 12px; font-weight: 500; color: var(--vs-gray); letter-spacing: .02em; }

/* CARD */
.card { background: var(--vs-white); border-radius: var(--r-lg); padding: 36px 32px; box-shadow: var(--sh-md); border: 1px solid var(--vs-border); animation: fadeUp .5s ease-out; }
.ct { font-family: var(--font-h); font-size: 22px; font-weight: 300; color: var(--vs-dark); letter-spacing: -.02em; margin-bottom: 4px; }
.ct span { font-weight: 500; }
.cs { font-size: 14px; color: var(--vs-gray); margin-bottom: 28px; line-height: 1.5; }

/* FIELDS */
.f { margin-bottom: 20px; }
.lbl { display: block; font-size: 12px; font-weight: 500; color: var(--vs-text); margin-bottom: 8px; letter-spacing: .02em; }

/* EDITABLE SLIDER VALUE */
.sv-hero { text-align: center; margin-bottom: 20px; position: relative; }
.sv-val { font-family: var(--font-h); font-size: 44px; font-weight: 300; color: var(--vs-dark); line-height: 1; letter-spacing: -.02em; cursor: pointer; display: inline-flex; align-items: baseline; gap: 4px; transition: opacity .2s; position: relative; }
.sv-val .u { font-size: 18px; color: var(--vs-gray); font-weight: 400; font-family: var(--font-b); }
.sv-val:hover { opacity: .7; }
.sv-val::after { content: '✎'; font-size: 14px; color: var(--vs-teal); opacity: 0; transition: opacity .2s; margin-left: 6px; }
.sv-val:hover::after { opacity: .6; }
.sv-input { font-family: var(--font-h); font-size: 44px; font-weight: 300; color: var(--vs-dark); letter-spacing: -.02em; text-align: center; border: none; border-bottom: 2px solid var(--vs-teal); background: transparent; outline: none; width: 200px; padding: 0 4px; }
.sv-input-wrap { display: none; align-items: baseline; justify-content: center; gap: 4px; }
.sv-input-wrap .u { font-size: 18px; color: var(--vs-gray); font-family: var(--font-b); }
.sv-input-wrap.active { display: flex; }
.sv-hint { font-size: 11px; color: var(--vs-gray-lt); margin-top: 6px; }

/* SLIDER ROW */
.sr { margin-bottom: 20px; }
.sr-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.sr-v { font-family: var(--font-h); font-size: 18px; font-weight: 500; color: var(--vs-dark); }
.sr-v .u { font-size: 12px; color: var(--vs-gray); font-weight: 400; font-family: var(--font-b); margin-left: 2px; }

/* CUSTOM RANGE SLIDER */
.rng { position: relative; padding: 12px 0; touch-action: none; cursor: grab; }
.rng:active { cursor: grabbing; }
.rng-track { width: 100%; height: 6px; background: var(--vs-light); border-radius: 3px; position: relative; overflow: visible; }
.rng-fill { height: 100%; background: linear-gradient(90deg, var(--vs-teal), var(--vs-accent)); border-radius: 3px; position: absolute; top: 0; left: 0; transition: width .05s linear; }
.rng-thumb { width: 28px; height: 28px; background: var(--vs-white); border: 2.5px solid var(--vs-teal); border-radius: 50%; position: absolute; top: 50%; transform: translate(-50%, -50%); box-shadow: var(--sh-sm); cursor: grab; transition: box-shadow .2s, transform .15s; z-index: 2; }
.rng-thumb:hover, .rng-thumb.active { box-shadow: 0 0 0 8px rgba(42, 142, 158, .1); transform: translate(-50%, -50%) scale(1.08); }
.rng-labels { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; color: var(--vs-gray-lt); }

/* MONTHLY */
.mo { background: var(--vs-soft); border: 1px solid rgba(42, 142, 158, .08); border-radius: var(--r-md); padding: 18px 24px; text-align: center; margin-bottom: 24px; }
.mo-l { font-size: 11px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--vs-gray); margin-bottom: 4px; }
.mo-v { font-family: var(--font-h); font-size: 28px; font-weight: 300; color: var(--vs-dark); letter-spacing: -.02em; }
.mo-v .u { font-size: 14px; color: var(--vs-gray); font-family: var(--font-b); }
.mo-d { font-size: 11px; color: var(--vs-gray-lt); margin-top: 4px; }

/* OPT CARDS */
.og { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.og3 { grid-template-columns: 1fr 1fr 1fr; }
.oc { padding: 14px 10px; background: var(--vs-white); border: 1.5px solid var(--vs-border); border-radius: var(--r-md); text-align: center; cursor: pointer; transition: all .25s ease; user-select: none; -webkit-tap-highlight-color: transparent; }
.oc:hover { border-color: var(--vs-medium); background: var(--vs-soft); }
.oc:focus-visible { outline: 3px solid rgba(42, 142, 158, .25); outline-offset: 2px; }
.oc.sel { border-color: var(--vs-teal); background: rgba(42, 142, 158, .04); box-shadow: 0 0 0 1px var(--vs-teal); }
.oci { width: 28px; height: 28px; margin: 0 auto 6px; display: flex; align-items: center; justify-content: center; border-radius: var(--r-sm); background: rgba(42, 142, 158, .06); }
.oci svg { width: 16px; height: 16px; fill: none; stroke: var(--vs-teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ocl { font-size: 12px; font-weight: 600; color: var(--vs-text); line-height: 1.3; }

/* Y/N */
.yn { display: flex; gap: 12px; margin-bottom: 22px; }
.yb { flex: 1; padding: 20px 14px; background: var(--vs-white); border: 1.5px solid var(--vs-border); border-radius: var(--r-lg); text-align: center; cursor: pointer; transition: all .3s ease; user-select: none; -webkit-tap-highlight-color: transparent; }
.yb:hover { border-color: var(--vs-medium); transform: translateY(-2px); box-shadow: var(--sh-sm); }
.yb:focus-visible { outline: 3px solid rgba(42, 142, 158, .25); outline-offset: 2px; }
.yb.sel { border-color: var(--vs-teal); background: rgba(42, 142, 158, .03); box-shadow: 0 0 0 1px var(--vs-teal), var(--sh-md); }
.yb.sw { border-color: #D4A853; background: rgba(212, 168, 83, .04); box-shadow: 0 0 0 1px #D4A853; }
.ybi { width: 32px; height: 32px; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: rgba(42, 142, 158, .06); }
.ybi svg { width: 18px; height: 18px; fill: none; stroke: var(--vs-teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.yb.sw .ybi { background: rgba(212, 168, 83, .08); }
.yb.sw .ybi svg { stroke: #D4A853; }
.ybt { font-size: 15px; font-weight: 600; color: var(--vs-text); }
.ybd { font-size: 11px; color: var(--vs-gray); margin-top: 2px; }

/* INPUT */
.inp { width: 100%; padding: 13px 16px; background: var(--vs-white); border: 1.5px solid var(--vs-border); border-radius: var(--r-md); font-family: var(--font-b); font-size: 14px; color: var(--vs-text); outline: none; transition: border-color .25s, box-shadow .25s; }
.inp:focus { border-color: var(--vs-teal); box-shadow: 0 0 0 3px rgba(42, 142, 158, .06); }
.inp::placeholder { color: var(--vs-gray-lt); }
.inp.err { border-color: var(--vs-err); }
.inp.err:focus { box-shadow: 0 0 0 3px rgba(192, 67, 65, .08); }
.f-err { display: block; font-size: 11px; color: var(--vs-err); margin-top: 6px; line-height: 1.4; min-height: 1em; }
.r2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.r-st { grid-template-columns: 2.5fr 1fr; }
.r-plz { grid-template-columns: 1fr 2.5fr; }

/* HINT */
.hint { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; background: var(--vs-soft); border-radius: var(--r-md); border: 1px solid rgba(42, 142, 158, .06); margin-bottom: 20px; font-size: 12px; color: var(--vs-gray); line-height: 1.6; }
.hint svg { flex-shrink: 0; width: 16px; height: 16px; fill: var(--vs-teal); opacity: .5; margin-top: 1px; }

/* CB */
.cb { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; }
.cbx { flex-shrink: 0; width: 20px; height: 20px; border: 1.5px solid var(--vs-border); border-radius: 6px; display: flex; align-items: center; justify-content: center; transition: all .25s; margin-top: 1px; background: var(--vs-white); }
.cbx.on { background: var(--vs-teal); border-color: var(--vs-teal); }
.cbx svg { width: 12px; height: 12px; fill: var(--vs-white); opacity: 0; transition: opacity .2s; }
.cbx.on svg { opacity: 1; }
.cbt { font-size: 12px; color: var(--vs-gray); line-height: 1.6; }
.cbt a { color: var(--vs-teal); text-decoration: underline; cursor: pointer; }

/* UWG */
.uwg { margin-top: 20px; padding: 14px 18px; background: rgba(212, 168, 83, .06); border: 1px solid rgba(212, 168, 83, .15); border-radius: var(--r-md); font-size: 12px; font-weight: 500; color: var(--vs-text); text-align: center; line-height: 1.5; }
.uwg svg { vertical-align: middle; margin-right: 4px; }

/* UPLOAD CARDS */
.upl-section { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--vs-border); }
.upl-title { font-family: var(--font-h); font-size: 18px; font-weight: 300; color: var(--vs-dark); letter-spacing: -.02em; margin-bottom: 4px; }
.upl-title span { font-weight: 500; }
.upl-sub { font-size: 13px; color: var(--vs-gray); margin-bottom: 20px; line-height: 1.5; }
.upl-grid { display: flex; flex-direction: column; gap: 12px; }
.upl-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--vs-white); border: 1.5px dashed var(--vs-border); border-radius: var(--r-md); cursor: pointer; transition: all .25s; user-select: none; -webkit-tap-highlight-color: transparent; position: relative; overflow: hidden; }
.upl-card:hover { border-color: var(--vs-medium); background: var(--vs-soft); }
.upl-card.drag { border-color: var(--vs-teal); background: rgba(42, 142, 158, .04); }
.upl-card.has-file { border-style: solid; border-color: var(--vs-accent); background: rgba(54, 161, 139, .03); }
.upl-card.uploading { border-color: var(--vs-teal); background: rgba(42, 142, 158, .03); }
.upl-card.err { border-color: var(--vs-err); background: rgba(192, 67, 65, .03); }
.upl-card-ico { width: 36px; height: 36px; border-radius: 10px; background: rgba(42, 142, 158, .06); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.upl-card-ico svg { width: 18px; height: 18px; fill: none; stroke: var(--vs-teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.upl-card.has-file .upl-card-ico { background: rgba(54, 161, 139, .1); }
.upl-card.has-file .upl-card-ico svg { stroke: var(--vs-accent); }
.upl-card.err .upl-card-ico { background: rgba(192, 67, 65, .1); }
.upl-card.err .upl-card-ico svg { stroke: var(--vs-err); }
.upl-card-info { flex: 1; min-width: 0; }
.upl-card-name { font-size: 13px; font-weight: 600; color: var(--vs-text); }
.upl-card-desc { font-size: 11px; color: var(--vs-gray-lt); margin-top: 2px; }
.upl-card-file { font-size: 11px; color: var(--vs-accent); font-weight: 500; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upl-card-err { font-size: 11px; color: var(--vs-err); font-weight: 500; margin-top: 2px; }
.upl-card-action { flex-shrink: 0; font-size: 11px; font-weight: 600; color: var(--vs-teal); letter-spacing: .03em; }
.upl-card.has-file .upl-card-action { color: var(--vs-accent); }
.upl-card.err .upl-card-action { color: var(--vs-err); }
.upl-card input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.upl-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 100px; font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; background: rgba(42, 142, 158, .06); color: var(--vs-teal); margin-left: 8px; }

/* Upload progress bar */
.upl-progress { position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--vs-light); overflow: hidden; }
.upl-progress-bar { position: absolute; top: 0; left: 0; bottom: 0; background: linear-gradient(90deg, var(--vs-teal), var(--vs-accent)); transition: width .2s ease; width: 0%; }
.upl-card.uploading .upl-progress { display: block; }
.upl-progress { display: none; }

/* LEGAL VISIBLE */
.leg-vis { margin-top: 20px; padding: 20px; background: var(--vs-soft); border-radius: var(--r-md); border: 1px solid rgba(42, 142, 158, .06); font-size: 11px; color: var(--vs-gray); line-height: 1.8; max-height: 200px; overflow-y: auto; }
.leg-vis h4 { font-size: 11px; font-weight: 600; color: var(--vs-text); margin: 12px 0 4px; }
.leg-vis h4:first-child { margin-top: 0; }
.leg-vis p { margin-bottom: 6px; }
.leg-vis::-webkit-scrollbar { width: 4px; }
.leg-vis::-webkit-scrollbar-track { background: transparent; }
.leg-vis::-webkit-scrollbar-thumb { background: var(--vs-border); border-radius: 2px; }
.leg-vis-label { font-size: 12px; font-weight: 500; color: var(--vs-text); margin-bottom: 8px; margin-top: 16px; }

/* BTN */
.br { display: flex; gap: 10px; margin-top: 28px; }
.btn { flex: 1; padding: 15px 24px; border: none; border-radius: var(--r-md); font-family: var(--font-b); font-size: 14px; font-weight: 600; cursor: pointer; transition: all .3s ease; display: flex; align-items: center; justify-content: center; gap: 8px; -webkit-tap-highlight-color: transparent; }
.btn:focus-visible { outline: 3px solid rgba(42, 142, 158, .35); outline-offset: 2px; }
.bn { background: var(--vs-dark); color: var(--vs-white); box-shadow: 0 4px 16px rgba(8, 66, 78, .15); }
.bn:hover:not(:disabled) { background: #0a5466; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(8, 66, 78, .2); }
.bn:disabled { opacity: .35; cursor: not-allowed; transform: none; box-shadow: none; }
.bb { background: transparent; color: var(--vs-gray); border: 1.5px solid var(--vs-border); flex: 0 0 auto; padding: 15px 18px; }
.bb:hover { border-color: var(--vs-gray); color: var(--vs-text); }
.arr { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.5; }

/* Spinner for loading buttons */
.spin { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .6s linear infinite; }

/* Server error banner */
.srv-err { margin-top: 16px; padding: 12px 14px; background: rgba(192, 67, 65, .06); border: 1px solid rgba(192, 67, 65, .2); border-radius: var(--r-md); color: var(--vs-err); font-size: 13px; line-height: 1.5; }

/* SUCCESS */
.suc { text-align: center; padding: 48px 24px; }
.suc-c { width: 64px; height: 64px; border-radius: 50%; background: rgba(54, 161, 139, .08); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; animation: scaleIn .5s cubic-bezier(.34, 1.56, .64, 1); }
.suc-c svg { width: 28px; height: 28px; fill: var(--vs-accent); }
.suc-t { font-family: var(--font-h); font-size: 24px; font-weight: 300; color: var(--vs-dark); margin-bottom: 12px; letter-spacing: -.02em; }
.suc-t span { font-weight: 500; }
.suc-p { font-size: 14px; color: var(--vs-gray); line-height: 1.7; max-width: 380px; margin: 0 auto; }
.suc-p strong { color: var(--vs-text); font-weight: 600; }

.footer { text-align: center; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--vs-border); font-size: 11px; color: var(--vs-gray-lt); line-height: 1.7; }

/* Turnstile mount */
#turnstile-mount { margin-top: 20px; display: none; }
#turnstile-mount.active { display: flex; justify-content: center; }

/* Honeypot — hidden from real users, bots fill it and get rejected */
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: scale(1); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes spin { to { transform: rotate(360deg); } }
.fade { animation: fadeUp .45s ease-out; }

@media (max-width: 520px) {
  .wrap { padding: 20px 16px 48px; }
  .card { padding: 28px 20px; border-radius: var(--r-md); }
  .trust { gap: 14px; }
  .og, .og3, .r2, .r-st, .r-plz { grid-template-columns: 1fr 1fr; }
  .og3 { grid-template-columns: 1fr 1fr; }
  .sv-val { font-size: 36px; }
  .sv-input { font-size: 36px; width: 160px; }
  .hero h1 { font-size: 26px; }
}
