/* ================= INVESTMENT APPLICATION ================= */
.inv-page { font-family: 'Inter', sans-serif; background: linear-gradient(180deg, #ffffff 0%, #fff9ec 100%); color: #111827; }
.inv-hero { max-width: 900px; margin: 0 auto; padding: 72px 20px 36px; text-align: center; }
.inv-eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #ffcc00; color: #111; font-size: 13px; font-weight: 700; }
.inv-hero h1 { margin: 16px 0 12px; font-size: 44px; line-height: 1.15; font-weight: 800; letter-spacing: -0.5px; }
.inv-hero p { margin: 0 auto; max-width: 720px; font-size: 17px; line-height: 1.65; color: #4b5563; }
.inv-facts { list-style: none; margin: 28px auto 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 820px; }
.inv-facts li { padding: 14px 10px; border-radius: 14px; background: #ffffff; border: 1px solid #efeadb; }
.inv-facts strong { display: block; font-size: 18px; font-weight: 800; }
.inv-facts span { font-size: 12.5px; color: #6b7280; }

.inv-wrap { max-width: 1160px; margin: 0 auto; padding: 16px 20px 90px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.inv-form { display: flex; flex-direction: column; gap: 18px; }
.inv-form.is-sent { display: none; }
.inv-hp { position: absolute; left: -9999px; }
.inv-card { padding: 26px 28px; border-radius: 20px; background: #ffffff; border: 1px solid #efeadb; box-shadow: 0 12px 30px rgba(17, 24, 39, 0.05); }
.inv-step { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.inv-step span { flex: 0 0 30px; height: 30px; border-radius: 50%; background: #111; color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.inv-step h2 { margin: 0; font-size: 19px; font-weight: 700; }

.inv-scooters { display: flex; align-items: center; justify-content: center; gap: 14px; }
.inv-stepper { width: 46px; height: 46px; border-radius: 12px; border: 1px solid #e5e7eb; background: #fff; font-size: 22px; font-weight: 600; color: #111; cursor: pointer; transition: background .2s, border-color .2s; }
.inv-stepper:hover { background: #fff7d6; border-color: #f5c518; }
.inv-num { display: flex; align-items: baseline; gap: 8px; }
.inv-num input { width: 110px; border: 0; background: transparent; font-size: 44px; font-weight: 800; text-align: right; color: #111; font-family: inherit; -moz-appearance: textfield; }
.inv-num input::-webkit-outer-spin-button, .inv-num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.inv-num input:focus { outline: none; }
.inv-num span { font-size: 15px; color: #6b7280; }
.inv-range { width: 100%; margin: 18px 0 6px; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, #f4b400 var(--fill, 0%), #ece7d8 var(--fill, 0%)); }
.inv-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #111; border: 3px solid #ffcc00; cursor: pointer; }
.inv-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #111; border: 3px solid #ffcc00; cursor: pointer; }
.inv-range-labels { display: flex; justify-content: space-between; font-size: 12.5px; color: #9ca3af; }

.inv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.inv-field { display: flex; flex-direction: column; gap: 6px; }
.inv-field > span { font-size: 13.5px; font-weight: 600; color: #374151; }
.inv-field input, .inv-field select, .inv-field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid #e5e7eb; background: #fbfbfa;
  font: 500 15px 'Inter', sans-serif; color: #111; transition: border-color .2s, box-shadow .2s, background .2s; box-sizing: border-box;
}
.inv-field input:focus, .inv-field select:focus, .inv-field textarea:focus { outline: none; border-color: #f4b400; background: #fff; box-shadow: 0 0 0 4px rgba(244, 180, 0, 0.15); }
.inv-span { grid-column: 1 / -1; }
.inv-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 13.5px; line-height: 1.5; color: #4b5563; }
.inv-consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: #f4b400; flex: 0 0 auto; }
.inv-actions { margin-top: 18px; }
.inv-submit { width: 100%; padding: 15px 20px; border: 0; border-radius: 14px; background: #111; color: #fff; font: 700 16px 'Inter', sans-serif; cursor: pointer; transition: background .25s, color .25s; }
.inv-submit:hover { background: #ffcc00; color: #111; }
.inv-submit:disabled { opacity: .7; cursor: wait; }
.inv-status { margin: 10px 0 0; font-size: 14px; }
.inv-status.is-error { color: #b91c1c; }

.inv-summary { position: sticky; top: 100px; }
.inv-sum-card { padding: 26px; border-radius: 20px; background: #111317; color: #fff; box-shadow: 0 20px 44px rgba(17, 24, 39, 0.2); }
.inv-sum-title { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: #9ca3af; letter-spacing: .04em; text-transform: uppercase; }
.inv-sum-big span { display: block; font-size: 38px; font-weight: 800; letter-spacing: -0.5px; color: #ffcc00; }
.inv-sum-big small { font-size: 14px; color: #b8bec8; }
.inv-sum-rows { margin: 20px 0 0; border-top: 1px solid #2a2e36; }
.inv-sum-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #2a2e36; font-size: 14px; color: #c6cbd3; }
.inv-sum-rows strong { color: #fff; font-weight: 700; white-space: nowrap; }
.inv-sum-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; font-size: 15px; font-weight: 600; }
.inv-sum-total strong { font-size: 22px; color: #4ade80; }
.inv-timeline { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.inv-timeline li { position: relative; padding: 10px 12px 10px 14px; border-radius: 12px; background: #1b1e24; font-size: 13px; line-height: 1.45; color: #c6cbd3; border-left: 3px solid #ffcc00; }
.inv-timeline b { display: block; color: #fff; font-size: 13.5px; }
.inv-note { margin: 16px 0 0; font-size: 12px; line-height: 1.5; color: #8b929c; }

.inv-thanks { grid-column: 1 / -1; max-width: 560px; margin: 20px auto; padding: 40px 30px; text-align: center; border-radius: 22px; background: #fff; border: 1px solid #efeadb; box-shadow: 0 16px 40px rgba(17, 24, 39, 0.08); }
.inv-thanks-icon { width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 50%; background: #22c55e; color: #fff; font-size: 30px; display: flex; align-items: center; justify-content: center; }
.inv-thanks h2 { margin: 0 0 8px; font-size: 26px; }
.inv-thanks p { margin: 0 0 20px; color: #4b5563; line-height: 1.6; }
.inv-back { display: inline-block; padding: 12px 22px; border-radius: 12px; background: #ffcc00; color: #111; font-weight: 700; text-decoration: none; }

@media (max-width: 960px) {
  .inv-wrap { grid-template-columns: 1fr; }
  .inv-summary { position: static; order: -1; }
  .inv-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .inv-hero { padding: 48px 16px 24px; }
  .inv-hero h1 { font-size: 30px; }
  .inv-hero p { font-size: 15px; }
  .inv-wrap { padding: 8px 14px 70px; }
  .inv-card { padding: 20px 18px; }
  .inv-grid { grid-template-columns: 1fr; }
  .inv-num input { font-size: 38px; width: 90px; }
}

/* night mode */
html[data-theme="dark"] .inv-page { background: #101216; color: #e5e7eb; }
html[data-theme="dark"] .inv-hero p, html[data-theme="dark"] .inv-consent { color: #b8bec8; }
html[data-theme="dark"] .inv-facts li, html[data-theme="dark"] .inv-card, html[data-theme="dark"] .inv-thanks { background: #1a1d23; border-color: #2a2e36; box-shadow: none; }
html[data-theme="dark"] .inv-step span { background: #ffcc00; color: #111; }
html[data-theme="dark"] .inv-field > span { color: #d1d5db; }
html[data-theme="dark"] .inv-field input, html[data-theme="dark"] .inv-field select, html[data-theme="dark"] .inv-field textarea { background: #14161b; border-color: #2e333c; color: #f3f4f6; }
html[data-theme="dark"] .inv-stepper { background: #14161b; border-color: #2e333c; color: #f3f4f6; }
html[data-theme="dark"] .inv-num input { color: #f3f4f6; }
html[data-theme="dark"] .inv-range { background: linear-gradient(90deg, #f4b400 var(--fill, 0%), #2e333c var(--fill, 0%)); }
html[data-theme="dark"] .inv-submit { background: #ffcc00; color: #111; }
html[data-theme="dark"] .inv-sum-card { background: #0b0c0f; border: 1px solid #23272f; }
html[data-theme="dark"] .inv-thanks p { color: #b8bec8; }

.inv-facts strong span { font-size: inherit; color: inherit; }

.inv-ast { font-size: .55em; vertical-align: super; margin-left: 1px; color: #b07d00; }
.inv-foot { margin: 14px 0 0; font-size: 12.5px; color: #8a8f98; }
html[data-theme="dark"] .inv-ast { color: #ffcc00; }
.inv-hero .inv-foot { margin: 14px auto 0; font-size: 12.5px; line-height: 1.5; color: #8a8f98; }

/* ---- models, eyebrow, stepper icons, consent ---- */
.inv-eyebrow { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px 8px 13px; font-size: 14px; font-weight: 700; letter-spacing: .2px; box-shadow: 0 6px 18px rgba(245, 184, 0, .28); }
.inv-eyebrow svg { width: 15px; height: 15px; fill: #111; }
.inv-hero h1 { font-weight: 800; letter-spacing: -1px; }
.inv-models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 20px; }
.inv-model {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 13px 14px; border-radius: 14px; border: 1px solid #e5e7eb; background: #fbfbfa;
  font-family: inherit; text-align: left; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s;
}
.inv-model b { font-size: 15px; color: #111; }
.inv-model span { font-size: 17px; font-weight: 800; color: #111; }
.inv-model small { font-size: 12px; color: #6b7280; }
.inv-model:hover { border-color: #f5c518; }
.inv-model.is-active { border: 2px solid #f4b400; padding: 12px 13px; background: #fffaf0; box-shadow: 0 8px 20px rgba(244, 180, 0, .16); }
.inv-stepper { display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.inv-stepper svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; fill: none; }
.inv-consent span { cursor: default; user-select: text; }
.inv-consent input { cursor: pointer; }
@media (max-width: 600px) {
  .inv-models { grid-template-columns: 1fr; }
  .inv-model { flex-direction: row; align-items: baseline; flex-wrap: wrap; column-gap: 10px; }
  .inv-facts li { padding: 12px 8px; }
  .inv-facts strong { font-size: 16px; }
  .inv-scooters { gap: 10px; }
  .inv-stepper { width: 42px; height: 42px; }
  .inv-sum-big span { font-size: 32px; }
}
@media (max-width: 360px) {
  .inv-hero h1 { font-size: 26px; }
  .inv-num input { width: 72px; font-size: 32px; }
  .inv-card { padding: 18px 14px; }
}
html[data-theme="dark"] .inv-model { background: #14161b; border-color: #2e333c; }
html[data-theme="dark"] .inv-model b, html[data-theme="dark"] .inv-model span { color: #f3f4f6; }
html[data-theme="dark"] .inv-model.is-active { background: #221e12; border-color: #f4b400; }

/* ================= refinements (minimal) ================= */
.inv-eyebrow { font-size: 15.5px; padding: 9px 18px 9px 14px; }
.inv-eyebrow svg { width: 16px; height: 16px; }
/* message box grows downwards only and never breaks the layout */
.inv-field textarea { resize: none; height: 110px; min-height: 110px; max-height: 110px; overflow-y: auto; display: block; }
.inv-card, .inv-grid, .inv-field { min-width: 0; }
/* after submitting: only the thank-you message */
.inv-wrap.is-done { display: block; }
.inv-wrap.is-done .inv-summary, .inv-wrap.is-done .inv-form { display: none; }
.inv-wrap.is-done .inv-thanks { margin: 10px auto 40px; }
/* summary card: calmer typography */
.inv-sum-card { padding: 28px 26px; border-radius: 22px; }
.inv-sum-title { font-size: 12px; letter-spacing: .08em; color: #8b929c; }
.inv-sum-big span { font-size: 36px; letter-spacing: -1px; }
.inv-sum-big small { display: block; margin-top: 4px; font-size: 13.5px; color: #9ca3af; }
.inv-sum-big small b { color: #e5e7eb; font-weight: 600; }
.inv-sum-rows { margin-top: 22px; }
.inv-sum-rows div { padding: 13px 0; font-size: 14px; color: #9ca3af; }
.inv-sum-rows strong { font-size: 15px; font-weight: 600; color: #f3f4f6; }
.inv-sum-total { margin-top: 18px; padding-top: 4px; font-size: 14px; color: #d1d5db; }
.inv-sum-total strong { font-size: 24px; font-weight: 700; letter-spacing: -.5px; }
.inv-note { margin-top: 18px; padding-top: 14px; border-top: 1px solid #23272f; }
/* model / format choices: simple outlined tiles */
.inv-models { gap: 12px; }
.inv-model { padding: 16px 16px 14px; border-radius: 14px; background: #fff; border: 1px solid #e5e7eb; box-shadow: none; gap: 4px; }
.inv-model b { font-size: 14px; font-weight: 600; color: #4b5563; }
.inv-model span { font-size: 19px; font-weight: 700; letter-spacing: -.3px; }
.inv-model small { font-size: 12.5px; color: #9ca3af; }
.inv-model.is-active { border: 1.5px solid #111; padding: 15.5px 15.5px 13.5px; background: #fff; box-shadow: 0 6px 16px rgba(17,24,39,.06); }
.inv-model.is-active b { color: #111; }
.inv-scooters { margin-top: 6px; }
.inv-stepper { border-radius: 50%; }
html[data-theme="dark"] .inv-model { background: #14161b; }
html[data-theme="dark"] .inv-model b { color: #b8bec8; }
html[data-theme="dark"] .inv-model.is-active { border-color: #ffcc00; background: #14161b; }
html[data-theme="dark"] .inv-model.is-active b { color: #fff; }
.inv-field textarea { max-width: 100%; box-sizing: border-box; }

/* ================= refinement: minimal & calm ================= */
.inv-eyebrow { font-size: 16px; padding: 10px 20px 10px 16px; gap: 8px; }
.inv-eyebrow svg { width: 17px; height: 17px; }

/* option cards (models / ad formats): quiet, no glow */
.inv-models { gap: 12px; }
.inv-model {
  position: relative; padding: 16px 16px 14px; border-radius: 16px;
  background: #ffffff; border: 1px solid #e7e5df; box-shadow: none;
}
.inv-model b { font-size: 14.5px; font-weight: 600; color: #374151; }
.inv-model span { margin-top: 4px; font-size: 20px; font-weight: 800; letter-spacing: -0.3px; color: #111; }
.inv-model small { margin-top: 2px; font-size: 12.5px; color: #8a8f98; }
.inv-model:hover { border-color: #cfcabb; }
.inv-model.is-active { padding: 16px 16px 14px; border: 1px solid #111; background: #ffffff; box-shadow: 0 0 0 1px #111; }
.inv-model.is-active::after {
  content: ""; position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; border-radius: 50%;
  background: #ffcc00 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.inv-stepper { width: 44px; height: 44px; border-radius: 50%; border-color: #e7e5df; }
.inv-stepper:hover { background: #111; border-color: #111; color: #fff; }
.inv-num input { font-size: 42px; letter-spacing: -1px; }
.inv-card { border-color: #eeeae0; box-shadow: 0 1px 2px rgba(17, 24, 39, 0.03); }
.inv-step h2 { font-size: 18px; letter-spacing: -0.2px; }

/* message box: grows downward only, never breaks the layout */
.inv-field textarea { resize: vertical; min-height: 96px; max-height: 260px; max-width: 100%; }

/* summary card: clean rows, brand yellow total */
.inv-sum-card { padding: 28px 26px; border-radius: 22px; box-shadow: 0 16px 40px rgba(17, 24, 39, 0.14); }
.inv-sum-title { font-size: 12px; letter-spacing: .08em; color: #8b929c; }
.inv-sum-big span { font-size: 36px; letter-spacing: -0.8px; }
.inv-sum-big small { display: block; margin-top: 4px; font-size: 13.5px; color: #9ca3af; }
.inv-sum-rows { margin-top: 22px; border-top: 1px solid rgba(255,255,255,.08); }
.inv-sum-rows div { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 13.5px; color: #9ca3af; }
.inv-sum-rows strong { font-size: 14.5px; font-weight: 600; color: #f3f4f6; }
.inv-sum-total { margin-top: 16px; padding-top: 2px; font-size: 14px; color: #d1d5db; }
.inv-sum-total strong { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; color: #ffcc00; }
.inv-note { margin-top: 18px; font-size: 11.5px; line-height: 1.55; color: #6b7280; }

/* after sending: thank-you stands alone, nothing overlaps */
.inv-wrap.is-done { grid-template-columns: 1fr; }
.inv-wrap.is-done .inv-summary { display: none; }
.inv-wrap.is-done .inv-thanks { margin: 40px auto 20px; }

@media (max-width: 600px) {
  .inv-eyebrow { font-size: 14.5px; padding: 9px 16px 9px 13px; }
  .inv-model span { font-size: 18px; margin-top: 0; }
  .inv-model.is-active::after { top: 50%; transform: translateY(-50%); }
  .inv-num input { font-size: 36px; }
}
html[data-theme="dark"] .inv-model { background: #14161b; border-color: #2e333c; }
html[data-theme="dark"] .inv-model b { color: #b8bec8; }
html[data-theme="dark"] .inv-model.is-active { border-color: #ffcc00; box-shadow: 0 0 0 1px #ffcc00; background: #14161b; }
html[data-theme="dark"] .inv-stepper:hover { background: #ffcc00; border-color: #ffcc00; color: #111; }
