*{box-sizing:border-box}
html,body{height:100%}

:root{
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

body{
  margin:0;
  /* Desktop/tablet: fill screen (may crop edges) */
  background: url("bg.png") center/cover no-repeat fixed;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  color:#000;
}

.hero{
  position: fixed;
  top: calc(22px + var(--safe-top));
  left: 0;
  right: 0;
  display:flex;
  flex-direction: column;
  align-items:center;
  gap: 14px;
  padding: 0 18px;
  pointer-events:none;
}

.headline{
  pointer-events:auto;
  font-weight: 900;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.1;
  letter-spacing: .6px;
  text-shadow: 2px 2px 0 rgba(255,255,255,.90);
  white-space: nowrap;
}

.msg{
  pointer-events:auto;
  max-width: 920px;
  margin: 0;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
  text-shadow: 1px 1px 0 rgba(255,255,255,.90);
}

.contact{
  position: fixed;
  left: calc(22px + var(--safe-left));
  bottom: calc(10px + var(--safe-bottom));
  display:flex;
  align-items:center;
  gap: 10px;
}

.contact-text{
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .6px;
  text-shadow: 1px 1px 0 rgba(255,255,255,.90);
  white-space: nowrap;
}

.iconbtn{
  width: 34px;
  height: 34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}

.svg{
  width: 34px;
  height: 34px;
  display:block;
}

/* Mobile: show full image without cropping */
@media (max-width: 720px){
  body{
    background: url("bg.png") center/contain no-repeat;
    background-color: #fff;
    background-attachment: scroll;
  }
  .contact{left: calc(14px + var(--safe-left));}
  .contact-text{font-size: 16px;}
  .iconbtn,.svg{width: 32px; height: 32px;}
  .headline{white-space: normal; text-align:center;}
}
