:root {
  --noche: #1a0a2e;
  --amatista: #3d1f7a;
  --fuego: #d4523a;
  --fuego-deep: #b8412f;
  --oro: #e8c87a;
  --arena: #f5f0e8;
  --selva: #2a7a5e;
  --body: #5a4a3a;
  --caption: #706257;
  --border: #ddd5c8;
  --white: #fff;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 12px 30px rgba(26, 10, 46, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--arena); color: var(--body); font: 15px/1.65 var(--sans); }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--oro); color: var(--noche); }
:focus-visible { outline: 3px solid var(--oro); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 20; left: 12px; top: 12px; padding: 10px 14px; color: var(--oro); background: var(--noche); border-radius: 7px; transform: translateY(-160%); transition: transform .16s ease-out; }
.skip-link:focus { transform: translateY(0); }
.container { width: min(100%, 1272px); margin: 0 auto; padding-inline: 36px; }
.site-header { background: var(--white); border-bottom: 1px solid var(--border); }
.site-header__inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand__name { display: block; color: var(--noche); font: 600 17px/1 var(--serif); }
.brand__product { display: block; margin-top: 4px; color: var(--caption); font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.text-link, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 7px; font-weight: 700; text-decoration: none; }
.text-link { padding: 10px 12px; color: var(--noche); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.button { border: 0; padding: 11px 18px; color: var(--white); background: var(--fuego-deep); box-shadow: 0 8px 18px rgba(184,65,47,.22); transition: background-color .16s ease-out, transform .16s ease-out, box-shadow .16s ease-out; }
.button:hover { background: #962f22; transform: translateY(-1px); box-shadow: 0 11px 24px rgba(150,47,34,.25); }
.button--secondary { color: var(--noche); background: transparent; border: 1px solid var(--noche); box-shadow: none; }
.button--secondary:hover { color: var(--oro); background: var(--noche); }
.button--wide { width: 100%; }
.app-main { min-height: calc(100dvh - 190px); padding: 56px 0 20px; }
.site-footer { margin-top: 54px; padding: 28px 0; color: var(--noche); background: var(--oro); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-copy { margin: 0; font-size: 12px; }
.footer-brand { display: flex; align-items: center; gap: 9px; }
.footer-brand img { width: 30px; height: 30px; }
.footer-brand strong { display: block; font: 17px/1 var(--serif); }
.footer-brand span { display: block; font-size: 12px; margin-top: 3px; }
.page-header { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; }
h1, h2, h3, h4 { color: var(--noche); font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(2.35rem, 5vw, 3.7rem); line-height: 1.05; letter-spacing: -.03em; margin: 0; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.12; margin: 0; }
h3 { font-size: 1.35rem; line-height: 1.2; margin: 0; }
.eyebrow, .label { color: var(--caption); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.muted { color: var(--caption); }
.hidden { display: none !important; }
.panel { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 28px; }
.panel--dark { color: var(--white); background: var(--noche); border-color: var(--noche); }
.panel--dark h2, .panel--dark h3 { color: var(--oro); }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; margin-bottom: 28px; border: 1px solid rgba(212,82,58,.35); background: #fff4ee; }
.notice--success { border-color: rgba(42,122,94,.3); background: #edf6f0; }
.notice h3, .notice p { margin: 0; }
.notice p { font-size: 13px; }
.pill { display: inline-flex; padding: 5px 10px; color: var(--oro); background: var(--noche); border-radius: 20px; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.report-list { display: grid; gap: 12px; }
.report-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 20px; color: var(--body); background: #fcfaf6; border: 1px solid var(--border); border-radius: 8px; text-decoration: none; transition: transform .16s ease-out, box-shadow .16s ease-out, border-color .16s ease-out; }
.report-row:hover { border-color: var(--fuego); box-shadow: var(--shadow); transform: translateY(-2px); }
.report-row h3 { font-size: 1.15rem; margin-bottom: 3px; }
.report-meta { display: flex; align-items: center; gap: 16px; color: var(--caption); font-size: 12px; text-align: right; }
.empty-state { padding: 62px 24px; text-align: center; border: 1px dashed var(--border); background: #fcfaf6; }
.empty-state__mark { width: 44px; height: 44px; margin: 0 auto 16px; display: grid; place-items: center; color: var(--oro); background: var(--noche); border-radius: 50%; font-family: var(--serif); font-size: 21px; }
.empty-state p { max-width: 390px; margin: 8px auto 20px; color: var(--caption); font-size: 13px; }
.dashboard-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.purchase-banner { display: flex; justify-content: space-between; align-items: center; gap: 28px; margin-bottom: 28px; padding: 28px; color: var(--white); background: var(--amatista); border-radius: 12px; }
.purchase-banner h2 { color: var(--oro); font-size: 1.65rem; }
.purchase-banner p { max-width: 680px; margin: 8px 0 16px; color: #f4eada; font-size: 13px; }
.purchase-banner .button { background: var(--fuego-deep); }
.purchase-banner__price { min-width: 120px; color: var(--oro); font: 2.5rem/1 var(--serif); text-align: right; }
.purchase-banner__price small { display: block; margin-top: 7px; color: #f4eada; font: 12px/1.3 var(--sans); }
.checklist { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 12px; }
.checkmark { flex: 0 0 24px; width: 24px; height: 24px; display: grid; place-items: center; color: var(--white); background: var(--selva); border-radius: 50%; font-size: 13px; }
.checkout-card { max-width: 720px; margin: 0 auto; overflow: hidden; }
.checkout-card__top { padding: 40px 28px; color: var(--white); background: var(--noche); text-align: center; }
.price { color: var(--oro); font: 4rem/.95 var(--serif); letter-spacing: -.04em; }
.price span { font-size: 1.7rem; }
.checkout-card__body { padding: 32px; }
.payment-note { color: var(--caption); font-size: 12px; text-align: center; }
.payment-methods { display: flex; justify-content: center; gap: 8px; margin-top: 22px; color: var(--caption); font-size: 11px; }
.payment-methods span { padding: 5px 8px; border: 1px solid var(--border); border-radius: 4px; background: var(--arena); }
.success-wrap { max-width: 680px; margin: 0 auto; text-align: center; }
.success-mark { width: 72px; height: 72px; margin: 0 auto 24px; display: grid; place-items: center; color: var(--white); background: var(--selva); border-radius: 50%; }
.success-mark svg { width: 35px; }
.summary { display: grid; gap: 0; margin: 30px 0; text-align: left; }
.summary div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.summary strong { color: var(--noche); text-align: right; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 30px; }
.metric { padding: 20px 14px; text-align: center; background: #fcfaf6; border: 1px solid var(--border); border-top: 3px solid var(--fuego); border-radius: 8px; }
.metric:nth-child(2) { border-top-color: var(--amatista); }
.metric:nth-child(3) { border-top-color: var(--selva); }
.metric:nth-child(4) { border-top-color: var(--oro); }
.metric__value { margin-top: 8px; color: var(--noche); font: 1.8rem/1 var(--serif); }
.metric__value small { font: 700 11px var(--sans); }
.report-section { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--border); }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.detail { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.detail strong { color: var(--noche); text-align: right; }
.back-link { display: inline-block; margin-bottom: 12px; color: var(--caption); font-size: 13px; text-underline-offset: 4px; }
.form-shell { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 100dvh; }
.context-panel { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(30px, 5vw, 76px); color: var(--white); background: var(--noche); }
.context-panel .brand__name { color: var(--oro); }
.context-panel .brand__product { color: #e8decf; }
.context-content { max-width: 470px; margin: auto 0; padding: 54px 0; }
.context-content h1 { color: var(--oro); font-size: clamp(2.7rem, 4.3vw, 4.4rem); }
.context-content p { color: #f4eada; }
.context-rule { width: 48px; height: 3px; margin: 25px 0 20px; background: var(--oro); }
.context-note { max-width: 430px; color: #d6c7e3; font-size: 13px; }
.form-panel { display: flex; align-items: center; justify-content: center; padding: 52px 36px; }
.form-wrap { width: 100%; max-width: 480px; }
.form-brand { display: none; margin-bottom: 32px; color: var(--noche); font: 18px var(--serif); text-decoration: none; }
.form-brand img { width: 32px; vertical-align: middle; margin-right: 8px; }
.form-header { margin-bottom: 28px; }
.form-header p { margin: 10px 0 0; color: var(--caption); }
.form { display: grid; gap: 19px; }
.field label { display: block; margin-bottom: 7px; color: var(--noche); font-size: 13px; font-weight: 800; }
.field input { width: 100%; min-height: 50px; padding: 12px 14px; color: var(--noche); background: var(--white); border: 1px solid var(--border); border-radius: 7px; }
.field input::placeholder { color: #8a8178; }
.field input:focus { outline: none; border-color: var(--noche); box-shadow: 0 0 0 3px rgba(232,200,122,.65); }
.error { margin-bottom: 22px; padding: 12px 14px; color: #702817; background: #fff2ed; border-left: 3px solid var(--fuego-deep); font-size: 14px; }
.checkout-card .error { margin: 16px 0 0; }
.form-help { margin: 6px 0 0; color: var(--caption); font-size: 12px; }
.form-foot { margin: 22px 0 0; color: var(--caption); font-size: 14px; text-align: center; }
.form-foot a { color: var(--fuego-deep); font-weight: 800; }
.legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--caption); font-size: 12px; text-align: center; }
.loading { opacity: .72; cursor: wait; }
button:disabled { cursor: wait; opacity: .72; }
@media (max-width: 850px) { .form-shell { grid-template-columns: 1fr; } .context-panel { display: none; } .form-brand { display: inline-block; } .metrics, .metrics--three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .container { padding-inline: 20px; } .app-main { padding-top: 36px; } .brand__product, .header-actions > .muted { display: none; } .page-header, .purchase-banner, .footer-inner { align-items: flex-start; flex-direction: column; } .purchase-banner__price { text-align: left; } .panel, .checkout-card__body { padding: 22px; } .report-row { align-items: flex-start; flex-direction: column; } .report-meta { text-align: left; flex-wrap: wrap; gap: 7px 12px; } .metrics, .metrics--three { grid-template-columns: 1fr; } .detail-grid { grid-template-columns: 1fr; } .form-panel { padding: 32px 20px; } .price { font-size: 3.2rem; } }
@media (max-height: 800px) and (min-width: 851px) { .context-panel { padding: 38px 5vw; } .context-content { padding: 28px 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }