:root {
  --kyc-ink: #131917;
  --kyc-panel: #1d2522;
  --kyc-paper: #f4f5f0;
  --kyc-muted: #9ba6a0;
  --kyc-line: rgba(255, 255, 255, .14);
  --kyc-lime: #c3ff45;
  --kyc-blue: #8eaaf4;
  --kyc-shell: min(1184px, calc(100% - 48px));
}

.kyc-page { min-width: 0; background: var(--kyc-ink); color: #f8faf6; }
.kyc-page * { box-sizing: border-box; }
.kyc-page a, .kyc-page button, .kyc-page summary, .kyc-page input { -webkit-tap-highlight-color: transparent; }
.kyc-page :focus-visible { outline: 2px solid var(--kyc-lime); outline-offset: 3px; }
.kyc-shell { width: var(--kyc-shell); margin-inline: auto; }

.kyc-header { position: relative; z-index: 3; border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(19,25,23,.91); }
.kyc-nav { height: 80px; display: flex; align-items: center; justify-content: space-between; }
.kyc-brand { display: inline-flex; width: 128px; }
.kyc-brand img { display: block; width: 100%; height: auto; filter: invert(1); }
.back-to-site { display: inline-flex; align-items: center; gap: 8px; color: #d4dcd7; font-family: "Space Grotesk", sans-serif; font-size: 12px; font-weight: 700; transition: color .2s ease; }
.back-to-site svg { width: 17px; transition: transform .2s ease; }
.back-to-site:hover { color: var(--kyc-lime); }
.back-to-site:hover svg { transform: translateX(-3px); }

.kyc-main-section { position: relative; isolation: isolate; min-height: 702px; overflow: hidden; background: var(--kyc-ink); }
.kyc-grid-pattern { position: absolute; z-index: -2; inset: 0; opacity: .31; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.48) 67%, transparent 100%); }
.kyc-orbit { position: absolute; z-index: -1; border: 1px solid rgba(195,255,69,.16); border-radius: 50%; }
.kyc-orbit-one { width: 470px; height: 470px; right: -100px; top: -226px; box-shadow: 0 0 0 45px rgba(195,255,69,.025), 0 0 0 90px rgba(195,255,69,.016); }
.kyc-orbit-two { width: 385px; height: 385px; left: -160px; bottom: -278px; border-color: rgba(142,170,244,.22); box-shadow: 0 0 0 45px rgba(142,170,244,.025); }
.kyc-layout { display: grid; grid-template-columns: minmax(290px, .8fr) minmax(470px, 1.13fr); gap: 92px; align-items: center; padding: 82px 0 89px; }
.kyc-intro { max-width: 448px; }
.kyc-eyebrow { display: flex; align-items: center; gap: 8px; color: var(--kyc-lime); font-family: "DM Mono", monospace; font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.kyc-eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(195,255,69,.1); }
.kyc-intro h1, .kyc-faq-layout h2 { margin: 20px 0 0; font-family: "Space Grotesk", sans-serif; font-size: clamp(44px, 4.8vw, 68px); font-weight: 600; line-height: 1.01; letter-spacing: -.06em; }
.kyc-intro h1 em, .kyc-faq-layout h2 em { color: var(--kyc-lime); font-style: normal; }
.kyc-lead { margin: 25px 0 0; color: #adb7b2; font-size: 15px; line-height: 1.78; }
.kyc-protection-card { display: flex; align-items: flex-start; gap: 13px; margin-top: 36px; padding: 15px 16px; border: 1px solid var(--kyc-line); border-radius: 8px; background: rgba(255,255,255,.035); }
.protection-icon { display: grid; flex: 0 0 auto; width: 29px; height: 29px; place-items: center; border-radius: 50%; color: var(--kyc-lime); background: rgba(195,255,69,.11); }
.protection-icon svg { width: 17px; }
.kyc-protection-card p { margin: 0; color: #aeb8b3; font-size: 11px; line-height: 1.65; }
.kyc-protection-card strong { color: #f4f7f3; }
.kyc-support-link { display: inline-flex; gap: 8px; margin-top: 23px; color: #8f9c95; font-size: 11px; }
.kyc-support-link span { color: var(--kyc-lime); font-weight: 800; }

.kyc-panel { position: relative; padding: 25px; border: 1px solid rgba(255,255,255,.16); border-radius: 13px; background: linear-gradient(130deg, rgba(35,44,40,.97), rgba(25,32,29,.98)); box-shadow: -15px 19px 0 -1px rgba(255,255,255,.035), 15px -15px 0 -1px rgba(195,255,69,.055), 0 28px 66px rgba(0,0,0,.26); }
.kyc-panel::after { content: ""; position: absolute; right: 0; top: 0; width: 160px; height: 140px; border-radius: 0 13px 0 100%; background: radial-gradient(circle at top right, rgba(195,255,69,.12), transparent 71%); pointer-events: none; }
.kyc-panel-top { position: relative; z-index: 1; display: flex; align-items: start; justify-content: space-between; padding-bottom: 21px; border-bottom: 1px solid var(--kyc-line); }
.kyc-panel-label { display: block; color: #929d96; font-family: "DM Mono", monospace; font-size: 9px; letter-spacing: .13em; }
.kyc-panel h2 { margin: 5px 0 0; font-family: "Space Grotesk", sans-serif; font-size: 21px; letter-spacing: -.04em; }
.kyc-panel-status { display: inline-flex; align-items: center; gap: 6px; padding-top: 2px; color: #bdc8c1; font-family: "DM Mono", monospace; font-size: 9px; }
.kyc-panel-status i { width: 6px; height: 6px; border: 1px solid #8a9790; border-radius: 50%; }
.kyc-steps { display: grid; gap: 0; margin: 18px 0 0; padding: 0; list-style: none; }
.kyc-steps li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; min-height: 60px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.09); }
.kyc-steps li:last-child { border-bottom: 0; }
.step-number { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #8e9992; font-family: "DM Mono", monospace; font-size: 9px; }
.kyc-steps div { display: grid; gap: 2px; }
.kyc-steps strong { color: #e8ede8; font-size: 12px; }
.kyc-steps small { color: #89948e; font-size: 9px; }
.step-state { color: #88928c; font-family: "DM Mono", monospace; font-size: 8px; letter-spacing: .04em; text-transform: uppercase; }
.kyc-steps .is-current .step-number { border-color: var(--kyc-lime); color: var(--kyc-ink); background: var(--kyc-lime); }
.kyc-steps .is-current strong, .kyc-steps .is-current .step-state { color: var(--kyc-lime); }
.kyc-panel-divider { height: 1px; margin: 17px 0; background: var(--kyc-line); }
.requirements-heading > span { color: #e7ebe6; font-family: "Space Grotesk", sans-serif; font-size: 13px; font-weight: 700; }
.requirements-heading p { margin: 4px 0 0; color: #909b94; font-size: 10px; line-height: 1.55; }
.capture-type-switch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 14px; }
.capture-type { min-height: 43px; padding: 7px; border: 1px solid rgba(255,255,255,.14); border-radius: 6px; background: rgba(0,0,0,.09); color: #9da8a1; font-family: "DM Mono", monospace; font-size: 8px; line-height: 1.28; letter-spacing: .01em; cursor: pointer; transition: color .18s ease, background .18s ease, border-color .18s ease; }
.capture-type:hover { color: #e8eee9; border-color: rgba(255,255,255,.28); }
.capture-type.is-active { border-color: rgba(195,255,69,.58); background: rgba(195,255,69,.12); color: var(--kyc-lime); }
.camera-stage { position: relative; min-height: 238px; margin-top: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; background: #111714; }
.camera-stage::before { content: ""; position: absolute; z-index: 2; inset: 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 5px; pointer-events: none; transition: border-color .2s ease; }
.camera-stage.is-active::before { border-color: rgba(195,255,69,.55); }
.camera-empty { position: absolute; z-index: 1; inset: 0; display: grid; align-content: center; justify-items: center; gap: 6px; padding: 26px; color: #a3ada7; text-align: center; transition: opacity .18s ease; }
.camera-empty-icon { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 2px; border: 1px solid rgba(195,255,69,.31); border-radius: 50%; color: var(--kyc-lime); background: rgba(195,255,69,.06); }
.camera-empty-icon svg { width: 23px; height: 23px; }
.camera-empty strong { color: #e8eee9; font-family: "Space Grotesk", sans-serif; font-size: 13px; }
.camera-empty p { margin: 0; font-size: 10px; }
#kyc-video { display: none; width: 100%; min-height: 238px; height: 100%; object-fit: cover; background: #111714; transform: scaleX(-1); }
.camera-stage[data-capture-type^="documento"] #kyc-video { transform: none; }
.camera-stage.is-active #kyc-video { display: block; }
.camera-stage.is-active .camera-empty { opacity: 0; pointer-events: none; }
.capture-guide { position: absolute; z-index: 3; left: 50%; top: 50%; width: min(70%, 300px); height: min(68%, 172px); border: 1.5px solid rgba(195,255,69,.78); border-radius: 7px; transform: translate(-50%, -50%); pointer-events: none; box-shadow: 0 0 0 999px rgba(0,0,0,.07); transition: width .2s ease, height .2s ease, border-radius .2s ease; }
.camera-stage[data-capture-type="selfie"] .capture-guide { width: min(48%, 160px); height: min(75%, 190px); border-radius: 48%; }
.camera-status { display: flex; align-items: center; gap: 7px; min-height: 18px; margin: 8px 0 0; color: #9ba69f; font-family: "DM Mono", monospace; font-size: 8px; line-height: 1.4; }
.camera-status > span { width: 6px; height: 6px; flex: 0 0 auto; border: 1px solid #89958d; border-radius: 50%; }
.camera-status.is-active > span { border-color: var(--kyc-lime); background: var(--kyc-lime); box-shadow: 0 0 0 4px rgba(195,255,69,.1); }
.camera-status.is-error { color: #ffb1a7; }
.camera-status.is-error > span { border-color: #ff8f80; background: #ff8f80; }
.camera-actions { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 7px; margin-top: 9px; }
.camera-action { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px; border: 1px solid rgba(255,255,255,.17); border-radius: 6px; background: rgba(255,255,255,.035); color: #d5ddd7; font-family: "Space Grotesk", sans-serif; font-size: 9px; font-weight: 700; cursor: pointer; transition: transform .18s ease, color .18s ease, background .18s ease, border-color .18s ease, opacity .18s ease; }
.camera-action svg { width: 15px; height: 15px; }
.camera-action:hover:not(:disabled) { border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.09); transform: translateY(-1px); }
.camera-action:disabled { opacity: .4; cursor: not-allowed; }
.camera-action-primary { border-color: var(--kyc-lime); background: var(--kyc-lime); color: var(--kyc-ink); }
.camera-action-primary:hover:not(:disabled) { border-color: #d6ff83; background: #d6ff83; }
.file-fallback { position: relative; display: flex; width: fit-content; align-items: center; gap: 5px; margin: 10px auto 0; color: #98a59d; font-size: 9px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.file-fallback::before { content: "↗"; color: var(--kyc-lime); font-family: "DM Mono", monospace; text-decoration: none; }
.file-fallback input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.photo-review { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: stretch; margin-top: 13px; padding: 11px; border: 1px solid rgba(195,255,69,.35); border-radius: 8px; background: rgba(195,255,69,.06); }
.photo-review[hidden] { display: none; }
.photo-review > img { width: 120px; height: 105px; border-radius: 5px; object-fit: cover; background: #101613; }
.photo-review-copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; justify-content: center; }
.photo-review-label { color: var(--kyc-lime); font-family: "DM Mono", monospace; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.photo-review h3 { margin: 3px 0 2px; color: #eff4ed; font-family: "Space Grotesk", sans-serif; font-size: 14px; }
.photo-review p { margin: 0; color: #a6b1aa; font-size: 9px; line-height: 1.45; }
.photo-review-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.review-action { min-height: 31px; padding: 0 9px; border: 1px solid rgba(255,255,255,.24); border-radius: 4px; background: transparent; color: #d3dbd5; font-family: "Space Grotesk", sans-serif; font-size: 9px; font-weight: 700; cursor: pointer; transition: background .18s ease, color .18s ease; }
.review-action:hover { background: rgba(255,255,255,.1); }
.review-action-primary { border-color: var(--kyc-lime); background: var(--kyc-lime); color: var(--kyc-ink); }
.review-action-primary:hover { background: #d5ff7e; }
.saved-photos-section { margin-top: 15px; padding-top: 14px; border-top: 1px solid var(--kyc-line); }
.saved-photos-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; }
.saved-photos-heading > div { display: grid; gap: 2px; }
.saved-photos-heading span:first-child { color: #909b94; font-family: "DM Mono", monospace; font-size: 8px; letter-spacing: .09em; text-transform: uppercase; }
.saved-photos-heading h3 { margin: 0; color: #e8eee9; font-family: "Space Grotesk", sans-serif; font-size: 13px; }
.saved-count { color: var(--kyc-lime); font-family: "DM Mono", monospace; font-size: 9px; }
.saved-photos { display: grid; gap: 7px; margin-top: 10px; }
.saved-photos-empty { margin: 0; padding: 10px; border: 1px dashed rgba(255,255,255,.16); border-radius: 5px; color: #89958d; font-size: 9px; text-align: center; }
.saved-photo { display: grid; grid-template-columns: 48px 1fr auto; gap: 9px; align-items: center; padding: 7px; border: 1px solid rgba(255,255,255,.12); border-radius: 6px; background: rgba(0,0,0,.08); }
.saved-photo > img { width: 48px; height: 40px; border-radius: 3px; object-fit: cover; }
.saved-photo-copy { display: grid; min-width: 0; gap: 2px; }
.saved-photo-copy strong { color: #e6ece7; font-family: "Space Grotesk", sans-serif; font-size: 10px; }
.saved-photo-copy span { color: #87928b; font-size: 8px; }
.saved-photo-actions { display: flex; gap: 4px; }
.saved-photo-action { min-height: 28px; padding: 0 7px; border: 1px solid rgba(255,255,255,.19); border-radius: 4px; background: transparent; color: #d7ded9; font-family: "DM Mono", monospace; font-size: 8px; cursor: pointer; }
.saved-photo-action:hover { color: var(--kyc-lime); border-color: rgba(195,255,69,.55); }
.kyc-acknowledgement { margin-top: 18px; }
.kyc-continue { width: 100%; min-height: 47px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; margin-top: 15px; border: 0; border-radius: 6px; background: var(--kyc-lime); color: var(--kyc-ink); font-family: "Space Grotesk", sans-serif; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .2s ease, transform .2s ease, opacity .2s ease; }
.kyc-continue svg { width: 17px; transition: transform .2s ease; }
.kyc-continue:hover { background: #d5ff7e; transform: translateY(-2px); }
.kyc-continue:hover svg { transform: translateX(3px); }
.kyc-small-print { margin: 11px 0 0; color: #88928c; font-size: 8px; line-height: 1.55; text-align: center; }

.kyc-faq-section { padding: 99px 0 108px; background: var(--kyc-paper); color: var(--kyc-ink); }
.kyc-faq-layout { display: grid; grid-template-columns: .77fr 1.23fr; gap: 96px; align-items: start; }
.kyc-eyebrow-dark { color: #63746a; }
.kyc-eyebrow-dark > span { box-shadow: 0 0 0 4px rgba(114,133,122,.11); }
.kyc-faq-layout h2 { max-width: 415px; color: var(--kyc-ink); font-size: clamp(39px, 4vw, 55px); }
.kyc-faq-layout h2 em { color: #738ccc; }
.kyc-faqs { border-top: 1px solid rgba(19,25,23,.18); }
.kyc-faqs details { border-bottom: 1px solid rgba(19,25,23,.18); }
.kyc-faqs summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 0; color: #222a26; font-family: "Space Grotesk", sans-serif; font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; }
.kyc-faqs summary::-webkit-details-marker { display: none; }
.kyc-faqs summary span { color: #5b6fa2; font-family: "DM Mono", monospace; font-size: 19px; font-weight: 400; transition: transform .2s ease; }
.kyc-faqs details[open] summary span { transform: rotate(45deg); }
.kyc-faqs p { max-width: 610px; margin: -3px 0 18px; color: #66716c; font-size: 12px; line-height: 1.72; }

.kyc-footer { border-top: 1px solid rgba(255,255,255,.1); background: var(--kyc-ink); }
.kyc-footer-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #89948e; font-family: "DM Mono", monospace; font-size: 9px; }
.kyc-footer-inner p { margin: 0; }

@media (max-width: 940px) {
  .kyc-layout { grid-template-columns: 1fr; gap: 56px; }
  .kyc-intro { max-width: 600px; }
  .kyc-faq-layout { grid-template-columns: 1fr; gap: 47px; }
}

@media (max-width: 630px) {
  :root { --kyc-shell: min(100% - 34px, 1184px); }
  .kyc-nav { height: 69px; }
  .kyc-brand { width: 108px; }
  .back-to-site { font-size: 10px; }
  .back-to-site svg { width: 15px; }
  .kyc-main-section { min-height: auto; }
  .kyc-layout { gap: 42px; padding: 55px 0 64px; }
  .kyc-intro h1 { margin-top: 16px; font-size: 46px; }
  .kyc-lead { margin-top: 20px; font-size: 14px; }
  .kyc-protection-card { margin-top: 27px; }
  .kyc-panel { padding: 17px; border-radius: 10px; }
  .kyc-panel-top { padding-bottom: 16px; }
  .kyc-panel h2 { font-size: 19px; }
  .kyc-steps { margin-top: 11px; }
  .kyc-steps li { grid-template-columns: 28px 1fr; gap: 8px; min-height: 60px; }
  .step-state { display: none; }
  .capture-type-switch { gap: 5px; }
  .capture-type { min-height: 47px; font-size: 8px; }
  .camera-stage, #kyc-video { min-height: 262px; }
  .camera-actions { grid-template-columns: 1fr; gap: 6px; }
  .camera-action { min-height: 46px; }
  .photo-review { grid-template-columns: 1fr; gap: 10px; }
  .photo-review > img { width: 100%; height: 180px; }
  .photo-review-copy { align-items: stretch; }
  .photo-review-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .review-action { min-height: 37px; }
  .saved-photo { grid-template-columns: 47px 1fr; }
  .saved-photo-actions { grid-column: 1 / -1; justify-content: flex-end; }
  .kyc-faq-section { padding: 72px 0 79px; }
  .kyc-faq-layout { gap: 37px; }
  .kyc-faq-layout h2 { margin-top: 15px; font-size: 40px; }
  .kyc-faqs summary { padding: 16px 0; font-size: 13px; }
  .kyc-footer-inner { min-height: 81px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  .kyc-page *, .kyc-page *::before, .kyc-page *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
