@font-face {
  font-family: system-fa;
  src: local("Tahoma");
}
:root{
  --bg:#f5f5f2;
  --ink:#171717;
  --muted:#6f6f6f;
  --card:#ffffff;
  --line:#e9e9e4;
  --accent:#171717;
  --success:#1f9d62;
  --shadow:0 18px 50px rgba(0,0,0,.08);
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:var(--bg);color:var(--ink);font-family:Tahoma,Arial,sans-serif}
body{
  background:
    radial-gradient(circle at 10% 0%, rgba(0,0,0,.045), transparent 30%),
    linear-gradient(180deg,#fafaf7 0%,#f1f1ed 100%);
}
.app-shell{
  width:min(100%,520px);
  min-height:100svh;
  margin:0 auto;
  padding:calc(24px + env(safe-area-inset-top)) 18px calc(24px + env(safe-area-inset-bottom));
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:22px;
}
.hero{
  display:flex;
  align-items:center;
  gap:16px;
}
.brand-mark{
  width:68px;height:68px;border-radius:22px;
  display:grid;place-items:center;
  background:#111;color:#fff;
  font-weight:700;font-size:24px;letter-spacing:1px;
  box-shadow:var(--shadow);
  flex:0 0 auto;
}
.eyebrow{font-size:12px;letter-spacing:2.5px;color:#777;margin-bottom:6px;direction:ltr;text-align:right}
h1{font-size:25px;line-height:1.45;margin:0;font-weight:800}
.lead{margin:7px 0 0;color:var(--muted);font-size:14px}
.card{
  background:rgba(255,255,255,.93);
  border:1px solid var(--line);
  border-radius:28px;
  padding:18px;
  box-shadow:var(--shadow);
}
.status{
  display:flex;align-items:center;gap:9px;
  background:#f3faf6;border:1px solid #d8efe2;
  color:#23764f;border-radius:18px;padding:12px 14px;
  font-size:13px;margin-bottom:16px;
}
.dot{width:9px;height:9px;border-radius:50%;background:var(--success);box-shadow:0 0 0 4px rgba(31,157,98,.12)}
button{
  width:100%;border:0;border-radius:19px;
  padding:17px 18px;margin-top:10px;
  font:700 16px Tahoma,Arial,sans-serif;
  display:flex;align-items:center;justify-content:space-between;
  cursor:pointer;
}
.primary{background:#111;color:#fff}
.secondary{background:#f2f2ef;color:#171717;border:1px solid #e4e4df}
.arrow{font-size:20px}
.note{
  margin-top:17px;padding:14px 4px 2px;
  color:#747474;font-size:12.5px;line-height:1.9;
  border-top:1px solid var(--line);
}
footer{
  display:flex;justify-content:space-between;color:#8a8a8a;
  font-size:11px;padding:0 4px;
}
.toast{
  position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);
  width:min(calc(100% - 32px),470px);
  background:#171717;color:#fff;border-radius:16px;padding:13px 16px;
  text-align:center;font-size:13px;opacity:0;pointer-events:none;
  transition:.2s ease;
  box-shadow:0 12px 35px rgba(0,0,0,.2);
}
.toast.show{opacity:1;transform:translate(-50%,0)}
@media (max-width:380px){
  h1{font-size:21px}
  .brand-mark{width:60px;height:60px;border-radius:19px}
}
