/* Cleaned stylesheet: consolidated desktop + mobile rules */
/* Basic reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html,
body {
  height: 100%
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  color: #0b1630
}

/* View-specific backgrounds (JS toggles view visibility) */
.desktop-view {
  background: url('./img/bg.png') no-repeat center/cover
}

.mobile-view {
  background: url('./m-img/bg.png') no-repeat center/cover
}

/* Layout */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 48px
}

.left {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px
}

.right {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
  align-items: center
}

.art-wrap {
  width: 520px;
  height: 520px;
  border-radius: 48%/46%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  position: relative
}

.art {
  max-width: 100%;
  height: auto;
  display: block
}

.site-footer {
  display: flex;
  justify-content: center;
  padding: 40px 0
}

.logo {
  height: 44px
}

/* Typography */
.headline {
  font-weight: 800;
  line-height: 0.95;
  color: #0d1530;
  font-size: 72px;
  letter-spacing: -1px
}

.headline .accent-dot {
  color: #00cc6a;
  margin-right: 8px
}

.lead {
  margin-top: 20px;
  color: #6b6f7a;
  max-width: 520px;
  font-size: 18px
}

.powered {
  margin-top: 22px;
  font-weight: 700;
  color: #1e2a3a
}

/* Actions / Buttons (default desktop appearance) */
.actions {
  margin-top: 40px;
  display: flex;
  gap: 18px;
  align-items: center
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  border-radius: 36px;
  text-decoration: none;
  font-weight: 700
}

.btn img,
.btn-icon {
  height: 28px;
  width: 28px;
  display: block
}

.btn span {
  font-size: 20px;
  color: #fff
}

.btn-twitter {
  background: url('./img/btnTwitter.png') no-repeat center;
  background-size: cover;
  width: 240px;
  height: 90px
}

.btn-email {
  background: url('./img/btnEmail.png') no-repeat center;
  background-size: cover;
  width: 240px;
  height: 90px;
  padding: 0 18px
}

/* Accessibility focus */
.btn:focus {
  outline: 3px solid rgba(0, 204, 106, 0.18)
}

/* Desktop responsive tweaks */
@media (max-width:1100px) {
  .headline {
    font-size: 56px
  }

  .art-wrap {
    width: 420px;
    height: 420px
  }
}

/* Mobile-specific overrides (applies when mobile view shown) */
.mobile-view .container {
  flex-direction: column;
  gap: 20px;
  padding-top: 10px;
}

.mobile-view .right {
  display: none
}

.mobile-view .top-logo {
  display: flex;
  justify-content: center;
  margin-top: 18px
}

.mobile-view .logo-top {
  height: 30px;
}

.mobile-view .mobile-content {
  display: block;
  text-align: left;
  padding: 0 20px
}

.mobile-view .left {
  align-items: flex-start
}

.mobile-view .headline {
  font-size: 56px;
  padding: 0 20px
}

.mobile-view .lead {
  font-size: 16px;
  color: #6b6f7a;
  padding: 0 20px;
  margin-top: 10px
}

.mobile-view .powered {
  padding: 0 20px;
  margin-top: 12px
}

/* Mobile buttons: single row, flexible widths */
.mobile-view .actions {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 0 20px;
  margin-top: 26px
}

.mobile-view .btn {
  flex: 1 1 0;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  padding: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.mobile-view .btn-twitter {
  background-image: url('./m-img/btnTwitter.png');
  width: 42%;
}

.mobile-view .btn-email {
  background-image: url('./m-img/btnEmail.png');
  width: 42%;
}

.mobile-view .btn span {
  display: none
}

/* images contain text */

/* Mobile decorative art fixed to bottom-right without blocking interactions */
.mobile-art {
  position: fixed;
  right: 12px;
  bottom: 12px;
  width: 46vw;
  max-width: 420px;
  z-index: 0;
  pointer-events: none
}

.mobile-art .art-wrap {
  width: 100%;
  height: auto;
  padding: 0;
  background: transparent;
  box-shadow: none
}

.mobile-view .container,
.mobile-view .actions,
.mobile-view .left {
  position: relative;
  z-index: 2
}

.mobile-view .container {
  margin-bottom: 70px;
  width: 80%;
}


/* Smallest screens: tighten headline */
@media (max-width:420px) {
  .mobile-view .headline {
    font-size: 44px
  }
}