:root {
  --navy: #123a9c;
  --ink: #172033;
  --muted: #667085;
  --orange: #ff7a00;
  --blue: #1f5eff;
  --line: #e4eaf3;
  --card: #ffffff;
  --danger: #b42318;
  --ok: #067647;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(255, 154, 46, 0.28), transparent 60%),
    radial-gradient(700px 480px at 100% 0%, rgba(47, 111, 255, 0.18), transparent 55%),
    linear-gradient(180deg, #f7fbff 0%, #eef4fb 100%);
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 5;
}

.skip:focus { top: 12px; }

.wash { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }

.arc {
  position: absolute;
  border-radius: 50%;
}

.arc-orange {
  width: 640px;
  height: 640px;
  right: -180px;
  top: -220px;
  background: conic-gradient(from 200deg, transparent 0 40%, #ff9a2e 58%, #ff7a00 72%, transparent 86%);
  opacity: 0.85;
}

.arc-blue {
  width: 720px;
  height: 520px;
  left: -260px;
  bottom: -280px;
  background: radial-gradient(circle at 30% 30%, #3d7dff, #123a9c 62%, transparent 70%);
  transform: rotate(-18deg);
}

.arc-soft {
  width: 520px;
  height: 220px;
  right: 8%;
  bottom: -80px;
  background: linear-gradient(90deg, transparent, rgba(255, 140, 40, 0.55), rgba(37, 99, 235, 0.45));
  border-radius: 50%;
  filter: blur(2px);
}

.stage {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin-inline: auto;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  gap: 24px;
  align-items: center;
  padding: 28px clamp(16px, 3vw, 36px) 24px;
}

.hero { max-width: 760px; }

.mark {
  width: min(240px, 46vw);
  height: auto;
  display: block;
  object-fit: contain;
  background: transparent;
}

h1 {
  margin: 18px 0 0;
  font-size: clamp(2.6rem, 4.6vw, 4.3rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--navy);
}

h1 span {
  display: block;
  color: var(--orange);
}

.tagline {
  margin: 14px 0 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #243044;
}

.points {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.points li {
  display: flex;
  gap: 14px;
  align-items: center;
}

.points strong, .secure strong { display: block; font-size: 1.02rem; }
.points em, .secure em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.bubble {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: #fff;
  box-shadow: 0 8px 20px rgba(18, 58, 156, 0.08);
}

.bubble svg, .secure svg, .control svg, .reveal svg, .float-chart svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bubble-orange { color: var(--orange); }
.bubble-blue { color: var(--blue); }

.flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.flow li {
  background: #fff;
  border: 1px solid #e3eaf3;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.84rem;
  font-weight: 800;
  color: #123a9c;
}
.flow li + li::before { content: "→ "; color: #ff7a00; }
.preview {
  position: relative;
  margin-top: 28px;
  max-width: 640px;
}

.screen {
  display: grid;
  grid-template-columns: 148px 1fr;
  min-height: 250px;
  border-radius: 22px 22px 18px 18px;
  overflow: hidden;
  background: #f4f8fd;
  box-shadow: 0 24px 50px rgba(18, 58, 156, 0.18);
  border: 8px solid #dbe7f7;
  transform: perspective(900px) rotateX(8deg);
  transform-origin: center bottom;
}

.side {
  background: linear-gradient(180deg, #0d3fbe, #0a2f8f);
  color: #fff;
  padding: 14px 10px;
  display: grid;
  align-content: start;
  gap: 6px;
}

.side img {
  width: 72px;
  height: auto;
  margin: 0 auto 8px;
  background: #fff;
  border-radius: 10px;
}

.nav {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 7px 8px;
  border-radius: 8px;
  opacity: 0.82;
}

.nav.on { background: rgba(255, 255, 255, 0.16); opacity: 1; }

.board { padding: 14px; }

.stats, .chart-row { display: grid; gap: 10px; }
.stats { grid-template-columns: repeat(3, 1fr); }
.chart-row { grid-template-columns: 1.4fr 0.8fr; margin-top: 10px; }

.board article {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 6px 16px rgba(18, 58, 156, 0.06);
}

.board small {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.board b { display: block; margin-top: 4px; color: var(--navy); font-size: 1.15rem; }
.money { color: #128a3e; }

.line { width: 100%; height: 70px; margin-top: 6px; }
.line polyline:first-child { fill: none; stroke: #1f8f4e; stroke-width: 3; }
.line polyline:last-child { fill: none; stroke: #8fd0ff; stroke-width: 3; }

.bars {
  display: flex;
  align-items: end;
  gap: 6px;
  min-height: 110px;
}

.bars span {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #7eb6ff, #1f5eff);
}

.float-chart {
  position: absolute;
  right: -8px;
  bottom: 36px;
  width: 74px;
  height: 74px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(180deg, #3d8bff, #1d4ed8);
  box-shadow: 0 12px 24px rgba(29, 78, 216, 0.35);
}

.float-chart svg { width: 34px; height: 34px; }

.panel { display: flex; flex-direction: column; align-items: center; }

.card {
  width: 100%;
  background: var(--card);
  border-radius: 28px;
  padding: 28px 28px 22px;
  box-shadow: 0 24px 60px rgba(23, 43, 77, 0.12);
}

.card-mark { width: 168px; margin: 0 auto 8px; }

h2 {
  margin: 8px 0 0;
  text-align: center;
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.sub {
  margin: 6px 0 0;
  text-align: center;
  color: #3d4b63;
  font-weight: 700;
}

.alert {
  margin: 16px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff1f0;
  color: var(--danger);
  font-size: 0.9rem;
  font-weight: 600;
}

.alert-ok { background: #ecfdf3; color: var(--ok); }

.field { margin-top: 16px; }

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.92rem;
  font-weight: 700;
}

.control {
  position: relative;
  display: flex;
  align-items: center;
}

.control > svg {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 18px;
  color: #98a2b3;
}

.control input {
  width: 100%;
  height: 48px;
  padding: 0 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafc;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
}

.control input::placeholder { color: #98a2b3; }

.control input:focus {
  outline: 3px solid rgba(31, 94, 255, 0.18);
  border-color: var(--blue);
  background: #fff;
}

.control input[aria-invalid="true"] { border-color: var(--danger); }

.reveal {
  position: absolute;
  right: 6px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #667085;
  cursor: pointer;
}

.reveal svg { width: 20px; height: 20px; }
.reveal:focus-visible { outline: 3px solid rgba(31, 94, 255, 0.35); }

.hint {
  margin: 6px 0 0;
  color: var(--danger);
  font-size: 0.82rem;
  font-weight: 600;
}

.row {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #344054;
}

.remember input { width: 16px; height: 16px; accent-color: var(--blue); }

.forgot {
  border: 0;
  background: none;
  padding: 0;
  color: var(--blue);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.submit {
  width: 100%;
  height: 52px;
  margin-top: 18px;
  border: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  background: linear-gradient(90deg, #ff8a1e 0%, #2f6bff 100%);
  box-shadow: 0 12px 24px rgba(47, 107, 255, 0.25);
}

.submit:hover { filter: brightness(1.05); }
.submit:disabled { cursor: progress; opacity: 0.75; }
.submit:focus-visible { outline: 3px solid rgba(47, 107, 255, 0.4); outline-offset: 2px; }
.arrow { font-size: 1.2rem; line-height: 1; }

.or {
  margin: 16px 0 12px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  color: #98a2b3;
  font-size: 0.82rem;
  font-weight: 700;
}

.or::before, .or::after { content: ""; height: 1px; background: #e6edf5; }

.secure {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  background: #f4f8ff;
  color: var(--blue);
}

.secure strong { color: var(--navy); font-size: 0.92rem; }
.secure em { font-size: 0.78rem; }

.legal {
  margin: 18px 0 0;
  text-align: center;
  color: #667085;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
}

@media (max-width: 1080px) {
  .stage { grid-template-columns: 1fr; padding-top: 24px; }
  .preview { display: none; }
  .hero { max-width: 640px; }
}

@media (max-width: 640px) {
  h1 { font-size: 2.4rem; }
  .card { padding: 22px 16px 18px; border-radius: 20px; }
  .row { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .screen { transform: none; }
}
