:root {
  --bg-1: #091517;
  --bg-2: #0f2d31;
  --bg-3: #193f43;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-border: rgba(255, 255, 255, 0.2);
  --text: #eafcff;
  --shadow: rgba(0, 0, 0, 0.38);
  --bezel: #0d1117;
  --bezel-edge: #313741;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(160deg, var(--bg-1), var(--bg-2) 50%, var(--bg-3));
  display: grid;
  place-items: center;
  padding: 42px 20px;
}

.page {
  width: min(1080px, 100%);
  display: grid;
  gap: 28px;
}

.hero {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.app-icon {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.36);
}

h1 {
  margin: 0;
  font-size: clamp(26px, 4.8vw, 44px);
  font-weight: 760;
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 900px;
}

.subtitle {
  margin: 0;
  font-size: clamp(16px, 2.2vw, 24px);
  font-weight: 500;
  line-height: 1.3;
  color: rgba(234, 252, 255, 0.86);
  max-width: 840px;
}

.app-store-link {
  display: inline-block;
  transition: transform 160ms ease;
}

.app-store-link:hover {
  transform: translateY(-1px);
}

.app-store-badge {
  width: 188px;
  height: auto;
  display: block;
}

.device-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 28px;
  flex-wrap: wrap;
}

.device {
  position: relative;
  background: var(--bezel);
  border: 2px solid var(--bezel-edge);
  box-shadow: 0 30px 60px var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.phone-frame {
  width: min(320px, 84vw);
  aspect-ratio: 0.485 / 1;
  border-radius: 44px;
  padding: 16px;
}

.phone-bezel {
  position: absolute;
  inset: 6px;
  border-radius: 38px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 36%;
  height: 22px;
  border-radius: 0 0 14px 14px;
  background: #040507;
  z-index: 3;
}

.watch-frame {
  width: min(250px, 64vw);
  aspect-ratio: 1 / 1.08;
  border-radius: 56px;
  padding: 16px;
}

.laptop-frame {
  width: min(520px, 96vw);
  aspect-ratio: 1.58 / 1;
  border-radius: 22px;
  padding: 12px 12px 18px;
}

.laptop-top-bezel {
  position: absolute;
  inset: 8px 8px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.laptop-screen {
  border-radius: 14px;
}

.laptop-base {
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 118%;
  height: 14px;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(180deg, #353a46, #191f29);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.watch-crown,
.watch-button {
  position: absolute;
  right: -9px;
  background: linear-gradient(180deg, #4f5867, #242a34);
}

.watch-crown {
  top: 40%;
  width: 12px;
  height: 36px;
  border-radius: 8px;
}

.watch-button {
  top: 28%;
  width: 8px;
  height: 20px;
  border-radius: 6px;
}

.watch-bezel {
  position: absolute;
  inset: 7px;
  border-radius: 48px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.screen-shell {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 30px;
  background: #0e1218;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.watch-screen {
  border-radius: 40px;
}

.screen-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 720px) {
  body {
    padding-top: 30px;
  }

  .page {
    gap: 20px;
  }

  .device-row {
    gap: 18px;
  }

  .laptop-frame {
    width: min(480px, 96vw);
  }
}
