:root {
  --bg: #070707;
  --panel: #111;
  --panel-2: #171717;
  --text: #f6f6f6;
  --muted: #aaa;
  --line: #303030;
  --pink: #ff0066;
  --danger: #ff486f;
  --success: #35d07f;
  --radius: 18px;
  --shadow: 0 24px 80px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at 80% -10%, rgba(255, 0, 102, .12), transparent 34%), var(--bg);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.55;
}
button, input, select, textarea { font: inherit; }
.is-hidden { display: none !important; }

.topbar {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid #202020;
  background: rgba(7, 7, 7, .9);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand { display: flex; gap: 13px; align-items: center; color: white; text-decoration: none; min-width: 0; }
.brand-mark { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; background: var(--pink); font-weight: 900; border-radius: 10px; letter-spacing: -1px; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 14px; letter-spacing: 2px; }
.brand small { font-size: 10px; color: #888; letter-spacing: 1.2px; margin-top: 2px; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.language-picker { display: flex; align-items: center; gap: 8px; color: #999; font-size: 12px; }
.language-picker select { color: #fff; background: #101010; border: 1px solid #3a3a3a; border-radius: 10px; padding: 10px 12px; outline: none; }
.language-picker select:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255, 0, 102, .12); }

.shell { width: min(1280px, calc(100% - 36px)); margin: 0 auto; min-height: calc(100vh - 150px); }
.intro { padding: clamp(70px, 9vw, 130px) 0 90px; max-width: 1060px; }
.eyebrow { color: var(--pink); font-weight: 800; letter-spacing: 2.4px; font-size: 13px; }
.intro h1 { font-size: clamp(42px, 6.4vw, 86px); line-height: .98; letter-spacing: -4px; margin: 18px 0 28px; max-width: 1080px; }
.lead { font-size: clamp(18px, 2vw, 24px); max-width: 900px; color: #c7c7c7; }
.intro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 48px 0 24px; }
.intro-grid article { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(140deg, #151515, #0d0d0d); }
.intro-grid strong { display: block; font-size: 32px; color: var(--pink); }
.intro-grid span { color: #bbb; font-size: 14px; }
.notice, .privacy-note { border-left: 3px solid var(--pink); background: #111; padding: 18px 20px; color: #bbb; border-radius: 0 12px 12px 0; margin: 24px 0 18px; }
.time-note { color: #8d8d8d; font-size: 14px; margin: 0 0 34px; max-width: 850px; }

.primary-button, .secondary-button, .ghost-button { border: 0; border-radius: 12px; padding: 15px 21px; font-weight: 800; cursor: pointer; transition: .2s transform, .2s background, .2s border-color; }
.primary-button { background: var(--pink); color: #fff; box-shadow: 0 12px 34px rgba(255, 0, 102, .18); }
.primary-button:hover { transform: translateY(-2px); background: #e9005d; }
.secondary-button { background: #202020; color: #fff; }
.ghost-button { background: transparent; color: #ddd; border: 1px solid #3a3a3a; }
.ghost-button:hover, .secondary-button:hover { border-color: #666; background: #292929; }
.primary-button:disabled { opacity: .45; cursor: not-allowed; transform: none !important; }

.form-layout { display: grid; grid-template-columns: 290px minmax(0, 880px); gap: 50px; padding: 55px 0 90px; align-items: start; }
.sidebar { position: sticky; top: 120px; }
.progress-label { display: flex; justify-content: space-between; font-size: 13px; color: #999; }
.progress-label strong { color: var(--pink); }
.progress-track { height: 8px; background: #242424; border-radius: 99px; margin: 10px 0 18px; overflow: hidden; }
.progress-fill { height: 100%; width: 0; background: var(--pink); border-radius: 99px; transition: width .35s ease; }
.current-step-summary { display: flex; flex-direction: column; gap: 3px; padding: 0 0 18px; border-bottom: 1px solid #1f1f1f; }
.current-step-summary strong { color: #888; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.current-step-summary span { color: #fff; font-size: 15px; font-weight: 700; }
.step-list { list-style: none; padding: 0; margin: 0; }
.step-list li { display: flex; gap: 13px; align-items: flex-start; padding: 13px 0; color: #707070; border-bottom: 1px solid #1f1f1f; font-size: 13px; line-height: 1.35; }
.step-list li span { flex: 0 0 22px; font-size: 11px; font-weight: 800; }
.step-list li.active { color: white; }
.step-list li.active span, .step-list li.done span { color: var(--pink); }
.step-list li.done { color: #aaa; }
.autosave-state { font-size: 12px; color: #777; margin-top: 22px; }

form { min-width: 0; }
.form-step { display: none; background: linear-gradient(155deg, #141414, #0e0e0e); border: 1px solid #252525; border-radius: 24px; padding: clamp(24px, 5vw, 52px); box-shadow: var(--shadow); }
.form-step.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step-header { margin-bottom: 38px; }
.step-header p { font-size: 12px; letter-spacing: 2px; color: var(--pink); font-weight: 900; margin: 0 0 10px; }
.step-header h2 { font-size: clamp(31px, 4vw, 48px); letter-spacing: -1.8px; line-height: 1.05; margin: 0 0 12px; }
.step-header > span { color: #999; }
.field-grid { display: grid; gap: 18px; }
.field-grid.two { grid-template-columns: 1fr 1fr; }
.field { display: block; margin: 0 0 28px; position: relative; }
.field > span, .field legend { display: block; color: #eee; font-weight: 700; margin-bottom: 8px; font-size: 14px; }
.field-help { margin: 0 0 10px; color: #929292; font-size: 12.5px; line-height: 1.55; }
.field input, .field select, .field textarea { width: 100%; color: white; background: #0a0a0a; border: 1px solid #353535; border-radius: 12px; padding: 14px 15px; outline: none; transition: border .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255, 0, 102, .12); }
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: var(--danger); }
.field small { display: block; text-align: right; color: #777; font-size: 11px; margin-top: 5px; }
.field small b { color: #aaa; }
fieldset.field { border: 0; padding: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice-grid.single { grid-template-columns: 1fr; }
.choice-grid label, .consent { display: flex; gap: 11px; align-items: flex-start; padding: 13px; border: 1px solid #333; background: #0c0c0c; border-radius: 11px; color: #bbb; cursor: pointer; }
.choice-grid label:hover { border-color: #555; }
.choice-grid input, .consent input { width: auto; flex: 0 0 auto; accent-color: var(--pink); margin-top: 4px; }
.choice-grid label > span { line-height: 1.45; }
.invalid-group .choice-grid { outline: 1px solid var(--danger); outline-offset: 4px; border-radius: 10px; }
.field-error { color: var(--danger); font-size: 12px; margin: 8px 0 0; min-height: 18px; }
.consent { margin: 28px 0 20px; }
.consent.invalid { border-color: var(--danger); }
.form-actions { display: flex; justify-content: space-between; gap: 16px; margin-top: 22px; }
.action-right { display: flex; gap: 10px; }
.submit-status { margin-top: 18px; padding: 0; }
.submit-status.error, .submit-status.success, .submit-status.info { padding: 16px 18px; border-radius: 12px; }
.submit-status.error { background: rgba(255, 72, 111, .1); border: 1px solid rgba(255, 72, 111, .5); color: #ff9ab0; }
.submit-status.success { background: rgba(53, 208, 127, .1); border: 1px solid rgba(53, 208, 127, .5); color: #83e8b0; }
.submit-status.info { background: #151515; border: 1px solid #333; color: #bbb; }
.honeypot { position: absolute !important; left: -99999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
footer { border-top: 1px solid #202020; padding: 26px clamp(20px, 5vw, 72px); display: flex; justify-content: space-between; color: #666; font-size: 12px; }

/* PDF document rendered outside the viewport */
.pdf-report { position: fixed; left: -100000px; top: 0; width: 794px; background: white; color: #161616; font-family: Arial, Helvetica, sans-serif; }
.pdf-render-source { position: absolute !important; left: 0 !important; width: 794px !important; z-index: 2147483647 !important; pointer-events: none !important; background: #fff !important; }
.pdf-page { width: 794px; min-height: 1123px; padding: 66px 70px 68px; position: relative; background: #fff; page-break-after: always; }
.pdf-cover { background: #0b0b0b; color: white; display: flex; flex-direction: column; justify-content: space-between; }
.pdf-kicker { color: #ff0066; letter-spacing: 2.5px; font-size: 13px; font-weight: 800; }
.pdf-cover h1 { font-size: 54px; line-height: .98; letter-spacing: -2.5px; margin: 30px 0; max-width: 650px; }
.pdf-cover .pdf-lead { color: #c7c7c7; font-size: 19px; max-width: 600px; }
.pdf-meta { border-top: 2px solid #ff0066; padding-top: 25px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pdf-meta small { display: block; color: #8a8a8a; text-transform: uppercase; font-size: 9px; letter-spacing: 1.2px; }
.pdf-meta strong { font-size: 16px; }
.pdf-section-head { border-bottom: 3px solid #ff0066; padding-bottom: 16px; margin-bottom: 30px; }
.pdf-section-head span { color: #ff0066; font-weight: 800; font-size: 11px; letter-spacing: 2px; }
.pdf-section-head h2 { font-size: 34px; line-height: 1.05; margin: 7px 0 0; letter-spacing: -1px; }
.pdf-answer { margin-bottom: 23px; break-inside: avoid; page-break-inside: avoid; }
.pdf-answer h3 { font-size: 13px; margin: 0 0 7px; color: #111; }
.pdf-answer p { white-space: pre-wrap; margin: 0; color: #444; font-size: 12.5px; line-height: 1.55; overflow-wrap: anywhere; }
.pdf-footer { position: absolute; left: 70px; right: 70px; bottom: 30px; display: flex; justify-content: space-between; border-top: 1px solid #ddd; padding-top: 10px; font-size: 9px; color: #999; }
.pdf-highlight { background: #f3f3f3; border-left: 4px solid #ff0066; padding: 18px; margin: 25px 0; font-size: 13px; }

/* WooCommerce licence */
.access-card { margin: 28px 0 22px; padding: 24px; border: 1px solid rgba(255, 255, 255, .14); background: linear-gradient(145deg, rgba(255, 0, 102, .08), rgba(255, 255, 255, .025)); border-radius: 18px; }
.access-card h2 { margin: 4px 0 8px; font-size: clamp(1.25rem, 2.4vw, 1.8rem); }
.access-card p { max-width: 760px; }
.access-controls { display: grid; grid-template-columns: minmax(240px, 1fr) auto; gap: 12px; align-items: end; margin-top: 18px; }
.access-field { margin: 0; }
.access-field input { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.license-status { margin-top: 12px; min-height: 24px; color: #b9b9b9; font-size: .94rem; }
.license-status.error { color: #ff8cac; }
.license-status.success { color: #8ef0b0; }

@media (max-width: 1000px) {
  .form-layout { grid-template-columns: 1fr; gap: 25px; }
  .sidebar { position: static; }
  .step-list { display: none; }
  .current-step-summary { border-bottom: 0; }
  .intro h1 { letter-spacing: -2.5px; }
}

@media (max-width: 720px) {
  .topbar { min-height: 70px; }
  .brand small { display: none; }
  .topbar .ghost-button { display: none; }
  .language-picker > span { display: none; }
  .language-picker select { max-width: 150px; }
  .shell { width: min(100% - 22px, 1280px); }
  .intro { padding-top: 55px; }
  .intro h1 { font-size: 43px; }
  .intro-grid { grid-template-columns: 1fr; }
  .form-layout { padding-top: 25px; }
  .form-step { border-radius: 17px; padding: 23px 17px; }
  .field-grid.two, .choice-grid { grid-template-columns: 1fr; }
  .form-actions { align-items: stretch; }
  .action-right { flex: 1; flex-direction: column; }
  .form-actions > .secondary-button { align-self: flex-end; }
  .action-right .ghost-button { display: none; }
  .action-right .primary-button { width: 100%; }
  footer { flex-direction: column; gap: 4px; }
  .access-controls { grid-template-columns: 1fr; }
  .access-controls button { width: 100%; }
}
