@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;700;800&family=Unbounded:wght@600;700&display=swap');

:root {
  --bg: #10151f;
  --card: rgba(246, 239, 222, 0.96);
  --ink: #151515;
  --muted: #686156;
  --accent: #ffb000;
  --green: #1e7f55;
  --line: rgba(21, 21, 21, 0.14);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Manrope, sans-serif;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 176, 0, .25), transparent 34%),
    radial-gradient(circle at 90% 20%, rgba(30, 127, 85, .30), transparent 30%),
    linear-gradient(145deg, #0a0f18, var(--bg));
  color: var(--ink);
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.app-shell { width: min(100%, 560px); margin: 0 auto; padding: 18px 14px 28px; }
.hero-card, .result-card {
  min-height: calc(100vh - 36px);
  background: var(--card);
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 34px;
  box-shadow: 0 30px 90px rgba(0,0,0,.35), inset 0 1px rgba(255,255,255,.8);
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.hero-card::after, .result-card::after {
  content: '₽';
  position: absolute; right: -28px; top: 42px;
  font-family: Unbounded, sans-serif;
  font-size: 150px; line-height: 1;
  color: rgba(255,176,0,.18);
  transform: rotate(-12deg);
}
.topline { display:flex; justify-content:space-between; gap:8px; align-items:center; position:relative; z-index:1; }
.pill, .source, .seal {
  display:inline-flex; align-items:center; min-height:28px; padding:6px 10px; border-radius:999px;
  background:#151515; color:#f6efde; font-size:11px; font-weight:800; letter-spacing:.04em; text-transform:uppercase;
}
.source { background: rgba(21,21,21,.08); color: var(--muted); text-transform:none; max-width:180px; overflow:hidden; text-overflow:ellipsis; }
.progress { height: 8px; background: rgba(21,21,21,.08); border-radius: 99px; margin: 18px 0 26px; overflow:hidden; }
.progress span { display:block; height:100%; background: linear-gradient(90deg, var(--green), var(--accent)); border-radius:inherit; transition: width .35s ease; }
.eyebrow { color: var(--green); font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
h1 { font-family: Unbounded, Manrope, sans-serif; font-size: clamp(30px, 8vw, 48px); line-height: .96; letter-spacing:-.05em; margin: 10px 0 12px; max-width: 440px; position:relative; z-index:1; }
.subtitle { color: var(--muted); font-size: 15px; line-height:1.45; margin: 0 0 22px; position:relative; z-index:1; }
.options { display:grid; gap: 10px; position:relative; z-index:1; }
.option, .ghost, .cta {
  width:100%; border:0; cursor:pointer; font-family:inherit; text-align:left; border-radius:22px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.option { background: #fffaf0; border: 1px solid var(--line); padding: 15px 16px; box-shadow: 0 8px 20px rgba(0,0,0,.05); }
.option:hover, .option:active { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(0,0,0,.09); }
.option-title { display:block; font-weight: 800; font-size: 16px; }
.option-hint { display:block; margin-top:3px; color: var(--muted); font-size: 13px; line-height:1.35; }
.ghost { margin-top: 14px; background: transparent; color: var(--muted); padding: 12px 4px; text-align:center; font-weight:800; }
.result-card { display:flex; flex-direction:column; }
.seal { width:max-content; background: var(--green); margin-bottom: 18px; position:relative; z-index:1; }
.insight { background:#151515; color:#f6efde; padding:16px; border-radius:24px; margin: 4px 0 18px; line-height:1.45; position:relative; z-index:1; }
.summary { display:grid; gap:8px; margin:0 0 18px; position:relative; z-index:1; }
.summary div { display:flex; justify-content:space-between; gap:12px; padding:10px 0; border-bottom:1px solid var(--line); }
dt { color:var(--muted); } dd { margin:0; font-weight:800; text-align:right; }
.cta { display:block; text-decoration:none; text-align:center; background:linear-gradient(135deg,var(--accent),#ff7a00); color:#151515; padding:16px; font-weight:900; box-shadow: 0 14px 30px rgba(255,176,0,.25); margin-top:auto; }
.fineprint { color:var(--muted); font-size:12px; line-height:1.4; text-align:center; }
@media (max-width: 380px) { .hero-card,.result-card{border-radius:26px;padding:18px} h1{font-size:30px}.source{display:none} }
