:root{
  --bg:#000012;
  --bg2:#050510;
  --card:rgba(16,18,29,.92);
  --card-soft:rgba(22,24,37,.96);
  --line:rgba(255,221,0,.28);
  --line-strong:rgba(255,221,0,.52);
  --text:#fffbea;
  --muted:#d9d2a7;
  --yellow:#ffdd00;
  --yellow2:#ffc400;
  --radius:24px;
}

*{box-sizing:border-box}

html,
body{
  margin:0;
  min-height:100%;
  background:#000012;
}

body{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 12% 0%,rgba(255,221,0,.08),transparent 28%),
    linear-gradient(180deg,var(--bg),var(--bg2));
  overflow-x:hidden;
}

#canvas{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  z-index:0;
  pointer-events:none;
  opacity:.95;
}

a{
  color:inherit;
  text-decoration:none;
}

button,
input{
  font:inherit;
}

.page{
  position:relative;
  z-index:1;
  width:100%;
  max-width:440px;
  min-height:100dvh;
  margin:0 auto;
  padding:22px 14px 24px;
}

.hero{
  padding:8px 6px 18px;
}

.brand,
.brand-full{
  display:flex;
  align-items:center;
}

.brand-logo-full{
  display:block;
  width:auto;
  max-width:238px;
  max-height:64px;
  object-fit:contain;
}

.hero::after{
  content:"";
  display:block;
  width:110px;
  height:2px;
  margin-top:14px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--yellow),rgba(255,221,0,0));
  box-shadow:0 0 12px rgba(255,221,0,.38);
}

.actions{
  display:grid;
  gap:12px;
}

.tile{
  position:relative;
  min-height:88px;
  display:grid;
  grid-template-columns:46px 1fr 34px;
  align-items:center;
  gap:12px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:
    linear-gradient(135deg,rgba(255,221,0,.06),transparent 46%),
    var(--card);
  box-shadow:
    0 12px 28px rgba(0,0,0,.36),
    0 0 0 1px rgba(255,221,0,.03) inset;
  overflow:hidden;
}

.tile::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(135deg,rgba(255,255,255,.03),transparent 30%),
    linear-gradient(90deg,transparent 0 92%, rgba(255,221,0,.08) 92% 94%, transparent 94%);
  pointer-events:none;
}

.tile > *{
  position:relative;
  z-index:1;
}

.icon{
  width:44px;
  height:44px;
  border-radius:16px;
  display:grid;
  place-items:center;
  font-size:21px;
  background:#1f2233;
  border:1px solid rgba(255,221,0,.18);
}

.tile b{
  display:block;
  font-size:16.5px;
  line-height:1.15;
  color:#fffdf2;
}

.tile small{
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:12px;
  line-height:1.25;
}

.tile em{
  width:32px;
  height:32px;
  border-radius:999px;
  display:grid;
  place-items:center;
  font-style:normal;
  font-weight:900;
  color:#161100;
  background:linear-gradient(180deg,var(--yellow),var(--yellow2));
  box-shadow:0 0 12px rgba(255,221,0,.18);
}

.check{
  margin-top:12px;
  padding:14px;
  border:1px solid rgba(255,221,0,.24);
  border-radius:var(--radius);
  background:
    linear-gradient(135deg,rgba(255,221,0,.05),transparent 48%),
    var(--card-soft);
  box-shadow:0 12px 28px rgba(0,0,0,.32);
}

.check-info{
  margin:0 2px 12px;
  color:#fff4ba;
  font-size:13px;
  line-height:1.4;
}

form{
  display:grid;
  grid-template-columns:1fr 68px;
  gap:8px;
}

input{
  width:100%;
  min-width:0;
  height:46px;
  border:1px solid rgba(255,221,0,.22);
  border-radius:15px;
  padding:0 12px;
  outline:none;
  color:var(--text);
  background:#171927;
}

input::placeholder{
  color:rgba(255,251,234,.58);
}

input:focus{
  border-color:var(--yellow);
  box-shadow:0 0 0 2px rgba(255,221,0,.08);
}

button{
  height:46px;
  border:0;
  border-radius:15px;
  color:#141000;
  font-weight:900;
  cursor:pointer;
  background:linear-gradient(180deg,var(--yellow),var(--yellow2));
}

.hint{
  margin:8px 3px 0;
  color:var(--muted);
  font-size:11.5px;
  line-height:1.35;
}

.tile,
.tile em,
button{
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease, border-color .18s ease;
}

.tile:active,
button:active{
  transform:scale(.985);
}

@media (hover:hover){
  .tile:hover{
    transform:translateY(-3px);
    border-color:var(--line-strong);
    box-shadow:
      0 18px 34px rgba(0,0,0,.42),
      0 0 16px rgba(255,221,0,.08);
  }

  button:hover{
    filter:brightness(1.04);
  }
}

@media (min-width:700px){
  .page{
    max-width:780px;
    padding:34px 22px;
  }

  .brand-logo-full{
    max-width:290px;
    max-height:78px;
  }

  .actions{
    grid-template-columns:1fr 1fr;
    gap:14px;
  }

  .tile{
    min-height:120px;
    grid-template-columns:52px 1fr;
    position:relative;
    padding:18px;
  }

  .icon{
    width:52px;
    height:52px;
    font-size:24px;
    border-radius:18px;
  }

  .tile b{
    font-size:18px;
  }

  .tile small{
    font-size:13px;
  }

  .tile em{
    position:absolute;
    right:18px;
    top:18px;
  }

  .check{
    margin-top:14px;
    padding:18px;
  }

  form{
    grid-template-columns:1fr 108px;
    gap:10px;
  }

  input,
  button{
    height:50px;
    border-radius:17px;
  }
}

@media (max-width:370px){
  .page{
    padding:15px 10px 20px;
  }

  .brand-logo-full{
    max-width:210px;
    max-height:56px;
  }

  .tile{
    min-height:78px;
    grid-template-columns:40px 1fr 30px;
    gap:10px;
    padding:12px;
    border-radius:20px;
  }

  .icon{
    width:39px;
    height:39px;
    font-size:19px;
    border-radius:14px;
  }

  .tile b{
    font-size:15px;
  }

  .tile small{
    font-size:11.3px;
  }

  .tile em{
    width:30px;
    height:30px;
  }

  .check{
    padding:12px;
    border-radius:20px;
  }

  form{
    grid-template-columns:1fr 62px;
  }

  input,
  button{
    height:44px;
    border-radius:14px;
  }

  input{
    font-size:13.5px;
  }
}

@media (prefers-reduced-motion:reduce){
  #canvas{
    display:none;
  }

  *,
  *::before,
  *::after{
    transition:none!important;
  }
}
