:root{
  --bg:#0b0b0b;
  --panel:#101010;
  --card:#141414;
  --fg:#f1f1f1;
  --muted:#b9b9b9;
  --line:#242424;
  --accent:#e63946;
  --accent2:#ff5160;
  --good:#33d17a;
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --r:18px;
  --sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --stencil: Impact, Haettenschweiler, "Arial Black", sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background: radial-gradient(900px 380px at 50% -40px, rgba(230,57,70,.22), transparent 62%), var(--bg);
  color:var(--fg);
  font-family:var(--sans);
  line-height:1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a{color:inherit}
strong{font-weight:800}
.accent{color:var(--accent)}

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background: rgba(11,11,11,.82);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
  padding:12px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.brand{display:flex; align-items:center; gap:10px;}
.brand__dot{
  width:12px; height:12px; border-radius:999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(230,57,70,.12);
}
.brand__name{
  font-family:var(--mono);
  letter-spacing:.10em;
  font-weight:900;
  font-size:12px;
  text-transform:uppercase;
}
.brand__sub{color:var(--muted); font-size:12px; margin-top:2px}

.topbar__right{display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end}

.shell{
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 14px 86px;
}

.hero h1{
  font-family:var(--stencil);
  text-transform:uppercase;
  letter-spacing:.6px;
  font-size: clamp(34px, 7vw, 62px);
  line-height:1.02;
  margin: 10px 0 10px;
}
.lead{
  margin: 0 0 16px;
  color:#dedede;
  font-size: 17px;
  line-height:1.75;
  max-width: 72ch;
}
.sub{
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height:1.7;
}

.pagehead{margin: 6px 0 16px}
h2{
  font-family:var(--stencil);
  text-transform:uppercase;
  letter-spacing:.55px;
  margin: 6px 0 6px;
  font-size: clamp(28px, 6vw, 44px);
  line-height:1.05;
}
h3{
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing:.2px;
}

.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media(min-width: 760px){
  .grid{grid-template-columns: repeat(3, 1fr);}
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border:1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 14px 14px;
}
.card__kicker{
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 8px;
}
.card__title{
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 6px;
}
.card__text{
  margin: 0 0 14px;
  color: #d6d6d6;
  font-size: 15px;
  line-height:1.7;
}

.btn{
  appearance:none;
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  color: var(--fg);
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 800;
  font-size: 13px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.btn:hover{border-color: rgba(230,57,70,.55)}
.btn:active{transform: translateY(1px)}
.btn--primary{
  border-color: rgba(230,57,70,.65);
  background: linear-gradient(180deg, rgba(230,57,70,.18), rgba(230,57,70,.10));
}
.btn--ghost{
  background: transparent;
  border-color: rgba(255,255,255,.08);
  padding: 9px 10px;
}
.btn--ghost span{display:none}
@media(min-width: 520px){
  .btn--ghost span{display:inline}
}

.progress{
  margin-top: 14px;
  padding: 12px 12px;
  border-radius: var(--r);
  border:1px dashed rgba(255,255,255,.14);
  background: rgba(255,255,255,.02);
}
.progress__top{display:flex; justify-content:space-between; align-items:center; gap:10px}
.progress__label{color:var(--muted); font-size:13px}
.progress__pct{font-family:var(--mono); font-weight:900; font-size:12px; letter-spacing:.14em}
.progress__bar{
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  overflow:hidden;
  margin-top: 10px;
}
.progress__bar span{
  display:block;
  height:100%;
  width:0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}
.progress__hint{margin-top:10px; color:var(--muted); font-size:13px}

.note{
  margin-top: 14px;
  border:1px solid rgba(230,57,70,.35);
  background: rgba(230,57,70,.06);
  border-radius: var(--r);
  padding: 12px 12px;
}
.note__title{font-weight:900; letter-spacing:.2px; margin-bottom:6px}
.note__text{margin:0; color:#f0f0f0; font-size:14px; line-height:1.7}

.view{display:none}
.view.is-active{display:block}

.stepper{display:grid; gap:12px}
.step{padding: 12px 12px}
.step__head{
  display:flex;
  align-items:center;
  gap:12px;
}
.step__badge{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  font-weight: 900;
  background: rgba(230,57,70,.14);
  border:1px solid rgba(230,57,70,.32);
}
.step__meta{flex:1}
.step__title{font-size: 16px; font-weight: 900}
.step__desc{color:var(--muted); font-size: 13px; margin-top:2px}
.step__body{margin-top: 10px}

.list{
  margin: 0;
  padding-left: 18px;
  color:#e8e8e8;
  font-size: 14px;
  line-height:1.7;
}
.list li{margin: 6px 0}
.p{margin:0; color:#e8e8e8; font-size:14px; line-height:1.75}

.tip{
  margin-top: 10px;
  padding: 10px 10px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color:#ededed;
  font-size: 13px;
  line-height:1.7;
}

.divider{height:1px; background: var(--line); margin: 16px 0}

.toggle{
  display:inline-flex;
  align-items:center;
  cursor:pointer;
  user-select:none;
}
.toggle input{display:none}
.toggle span{
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  position: relative;
  transition: .2s ease;
}
.toggle span:after{
  content:" ";
  position:absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  transition: .2s ease;
}
.toggle input:checked + span{
  background: rgba(51,209,122,.18);
  border-color: rgba(51,209,122,.35);
}
.toggle input:checked + span:after{
  left: 23px;
  background: rgba(51,209,122,.95);
}

.chips{display:flex; flex-wrap:wrap; gap:8px; margin-top: 10px}
.chip{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#dcdcdc;
  padding: 6px 8px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.chip.accent{
  border-color: rgba(230,57,70,.35);
  background: rgba(230,57,70,.10);
  color:#fff;
}

.check{display:grid; gap:10px}
.check__item{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding: 10px 10px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  cursor:pointer;
}
.check__item input{
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--good);
}
.check__item span{font-size: 14px; line-height:1.6}

.nav{
  position:fixed;
  left:0; right:0; bottom:0;
  background: rgba(11,11,11,.90);
  backdrop-filter: blur(10px);
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-around;
  padding: 8px 6px max(8px, env(safe-area-inset-bottom));
  z-index:60;
}
.nav__btn{
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  padding: 8px 8px;
  border-radius: 14px;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  min-width: 64px;
}
.nav__icon{font-size: 18px}
.nav__txt{font-size: 11px; font-weight: 800; letter-spacing:.02em}
.nav__btn.is-active{
  color: var(--fg);
  border-color: rgba(230,57,70,.35);
  background: rgba(230,57,70,.08);
}

.sheet{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.55);
  display:none;
  align-items:flex-end;
  justify-content:center;
  z-index:70;
  padding: 14px;
}
.sheet.is-open{display:flex}
.sheet__card{
  width: min(720px, 100%);
  border-radius: 22px;
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  box-shadow: var(--shadow);
  overflow:hidden;
}
.sheet__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding: 12px 12px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.sheet__title{font-weight: 900; font-size: 15px}
.sheet__sub{color: var(--muted); font-size: 12px; margin-top: 2px}
.sheet__body{padding: 12px 12px}
