:root {
  --ink: #0b0c10;
  --muted: #626978;
  --blue: #2855f6;
  --electric: #00d9f2;
  --canvas: #edf0f7;
  --paper: #ffffff;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Outfit", sans-serif;
}

.page-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(40, 85, 246, .13), transparent 22rem),
    radial-gradient(circle at 88% 85%, rgba(0, 217, 242, .14), transparent 24rem),
    linear-gradient(135deg, #f8f9fc 0%, #ebeff8 100%);
}

.profile-card {
  width: min(100%, 1080px);
  min-height: 680px;
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  grid-template-areas:
    "identity art"
    "links art"
    "footer footer";
  gap: 24px 16px;
  padding: clamp(34px, 5vw, 66px);
  overflow: hidden;
  isolation: isolate;
  align-content: start;
  background: rgba(255, 255, 255, .84);
  border: 1px solid rgba(16, 28, 66, .08);
  border-radius: 34px;
  box-shadow: 0 30px 80px rgba(25, 38, 74, .14);
}

.profile-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 330px;
  height: 330px;
  right: -160px;
  top: -180px;
  border-radius: 50%;
  border: 52px solid rgba(40, 85, 246, .06);
}

.identity { grid-area: identity; align-self: end; max-width: 490px; }

.brand-frame {
  display: block;
  position: relative;
  width: 240px;
  height: 50px;
  margin-bottom: 32px;
  overflow: hidden;
}

.brand {
  position: absolute;
  display: block;
  width: 300px;
  max-width: none;
  height: auto;
  left: 50%;
  top: -134px;
  transform: translateX(-50%);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--blue);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
}

.eyebrow span { width: 24px; height: 2px; background: currentColor; }

h1 {
  margin: 0;
  max-width: 500px;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800;
  line-height: .97;
  letter-spacing: -.06em;
}

.intro {
  max-width: 390px;
  margin: 21px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.48;
}

.app-art {
  grid-area: art;
  align-self: center;
  justify-self: end;
  width: min(100%, 450px);
  position: relative;
  height: 465px;
  display: grid;
  place-items: center;
}

.app-art::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--blue), #001359 80%);
  transform: rotate(-16deg);
  box-shadow: inset 20px 10px 50px rgba(255, 255, 255, .15), 0 22px 38px rgba(24, 55, 174, .22);
}

.app-art img {
  width: min(100%, 390px);
  z-index: 1;
  filter: drop-shadow(0 22px 18px rgba(1, 13, 43, .2));
  animation: float 5s ease-in-out infinite;
}

.orb { position: absolute; border-radius: 50%; z-index: -1; }
.orb-one { width: 58px; height: 58px; right: 3%; top: 12%; background: var(--electric); box-shadow: 0 0 32px rgba(0, 217, 242, .75); }
.orb-two { width: 24px; height: 24px; left: 5%; bottom: 10%; background: var(--blue); }

.links { grid-area: links; width: min(100%, 455px); align-self: start; display: grid; gap: 11px; }

.store-link, .secondary-link {
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.store-link {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr 134px 26px;
  align-items: center;
  gap: 12px;
  padding: 10px 17px 10px 20px;
  color: white;
  background: var(--ink);
  border-radius: 14px;
  box-shadow: 0 8px 0 #dbe0ec;
}

.store-link:hover { transform: translateY(-3px); box-shadow: 0 11px 0 #c9d1e5; }
.store-copy { display: grid; gap: 2px; }
.store-copy small { color: #bac1d2; font-family: "DM Mono", monospace; font-size: 9px; letter-spacing: .07em; }
.store-copy strong { font-size: 19px; line-height: 1; font-weight: 600; }
.arrow { color: var(--electric); font-size: 25px; line-height: 1; }

.badge { display: block; position: relative; overflow: hidden; height: 43px; border-radius: 7px; }
.badge img { display: block; }
.apple-badge img { width: 100%; height: 100%; object-fit: contain; }
.play-badge img { position: absolute; width: 100%; max-width: none; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(1.87); }

.secondary-link {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 12px 6px 2px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}
.secondary-link:hover { transform: translateX(3px); }

footer {
  grid-area: footer;
  align-self: end;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 25px;
  border-top: 1px solid #e7eaf1;
  color: #8b93a4;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: .035em;
}

@keyframes float { 50% { transform: translateY(-11px); } }

@media (max-width: 760px) {
  .page-shell { display: block; padding: 0; background: white; }
  .profile-card { min-height: 100svh; grid-template-columns: 1fr; grid-template-areas: "identity" "art" "links" "footer"; gap: 22px; padding: 20px 24px 26px; border: 0; border-radius: 0; box-shadow: none; align-content: start; }
  .identity { text-align: center; justify-self: center; }
  .brand-frame { width: 230px; height: 48px; margin: 0 auto 25px; }
  .brand { width: 288px; top: -129px; }
  .eyebrow { justify-content: center; }
  .intro { margin-left: auto; margin-right: auto; font-size: 16px; }
  .app-art { width: 100%; height: 310px; }
  .app-art::before { width: 235px; height: 235px; }
  .app-art img { width: 265px; }
  .orb-one { right: 9%; top: 5%; width: 41px; height: 41px; }
  .links { width: 100%; justify-self: center; }
  footer { font-size: 8px; padding-top: 18px; }
}

@media (max-width: 390px) {
  .profile-card { padding-left: 18px; padding-right: 18px; }
  h1 { font-size: 40px; }
  .store-link { grid-template-columns: 1fr 114px 20px; padding-left: 15px; padding-right: 12px; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) { .app-art img { animation: none; } * { scroll-behavior: auto !important; } }
