/* My Tower marketing — warm coral on dusk */

:root {
  --navy: #1a0f0a;
  --deep: #24160f;
  --mid: #3d2418;
  --foam: #fff5ef;
  --ink: #fff8f3;
  --muted: #d4b8a8;
  --cyan: #ff8a65;
  --magenta: #ffb74d;
  --pin: #ff8a65;
  --pin-deep: #ef6c4a;
  --gold: #ffee58;
  --display: "Sora", "Nunito", system-ui, sans-serif;
  --body: "Nunito", "Avenir Next", system-ui, sans-serif;
  --shell: 68rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  font-family: var(--display);
}

.shell {
  width: min(100% - 2rem, var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -4rem;
  transform: translateX(-50%);
  z-index: 100;
  padding: 0.55rem 1rem;
  background: var(--cyan);
  color: #1a0f0a;
  font-weight: 800;
  border-radius: 999px;
}

.skip-link:focus {
  top: 0.75rem;
}

.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  padding: 0.85rem 0;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.top.is-solid {
  background: rgba(5, 10, 24, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}

.mark img {
  border-radius: 10px;
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.25),
    0 4px 14px rgba(0, 0, 0, 0.35);
}

.top__nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top__nav a {
  color: var(--foam);
  font-weight: 800;
  text-decoration: none;
}

.top__cta {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  color: #1a0f0a !important;
  box-shadow: 0 8px 18px rgba(0, 229, 255, 0.28);
}

.top__cta:hover {
  filter: brightness(1.06);
  text-decoration: none;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 78% 42%, rgba(224, 64, 251, 0.18), transparent 62%),
    radial-gradient(ellipse 60% 50% at 18% 30%, rgba(0, 229, 255, 0.16), transparent 58%),
    radial-gradient(ellipse 80% 70% at 50% 100%, rgba(61, 123, 255, 0.12), transparent 55%),
    var(--navy);
}

.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 70%, rgba(255, 213, 79, 0.22) 0 4px, transparent 5px),
    radial-gradient(circle at 88% 24%, rgba(224, 64, 251, 0.35) 0 6px, transparent 7px),
    radial-gradient(circle at 72% 78%, rgba(0, 229, 255, 0.28) 0 5px, transparent 6px),
    radial-gradient(circle at 30% 18%, rgba(255, 64, 129, 0.22) 0 3px, transparent 4px);
  opacity: 0.9;
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.25rem;
  align-items: center;
  padding: 6.5rem 0 3rem;
}

@media (min-width: 900px) {
  .hero__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
    padding: 7.5rem 0 4rem;
  }
}

.hero__copy {
  max-width: 34rem;
}

.kicker {
  margin: 0 0 0.55rem;
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.brand-lockup {
  font-size: clamp(3rem, 9vw, 5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
  text-shadow:
    0 0 24px rgba(0, 229, 255, 0.45),
    0 0 48px rgba(224, 64, 251, 0.28),
    0 4px 0 rgba(5, 10, 24, 0.45);
}

.hero__lede {
  margin: 0.95rem 0 0;
  max-width: 28rem;
  color: var(--foam);
  font-size: 1.12rem;
  font-weight: 700;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.hero__device {
  justify-self: center;
  width: min(100%, 280px);
}

@media (min-width: 900px) {
  .hero__device {
    width: min(100%, 320px);
    justify-self: end;
  }
}

/* —— Phone device chrome —— */
.device {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  border-radius: 2rem;
  padding: 0.55rem;
  background: linear-gradient(160deg, #1c2438 0%, #0a0f1c 55%, #151a2c 100%);
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.22),
    0 0 0 6px rgba(255, 255, 255, 0.04),
    0 28px 70px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(224, 64, 251, 0.12);
  animation: floaty 5.5s ease-in-out infinite;
}

.device--lg {
  width: min(100%, 300px);
  margin-inline: auto;
}

.device__notch {
  position: absolute;
  top: 0.85rem;
  left: 50%;
  z-index: 2;
  width: 34%;
  height: 0.72rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #05070f;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.device__screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 1.55rem;
  background: #1a0f0a;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.15rem;
  border-radius: 16px;
  font-weight: 800;
  text-decoration: none;
  border: 0;
}

.btn small {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  opacity: 0.85;
  line-height: 1.1;
}

.btn--pin {
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  color: #1a0f0a;
  box-shadow:
    0 12px 28px rgba(0, 229, 255, 0.28),
    0 8px 22px rgba(224, 64, 251, 0.22);
}

.btn--pin:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

.btn--quiet {
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  border: 1px solid rgba(0, 229, 255, 0.22);
  cursor: default;
}

.phone {
  padding: 4.5rem 0 3rem;
  background: linear-gradient(180deg, var(--navy) 0%, var(--deep) 100%);
}

.phone__inner {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

@media (min-width: 860px) {
  .phone__inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 3.25rem;
  }
}

.phone__shot {
  margin: 0;
  justify-self: center;
  width: min(100%, 300px);
}

.phone__copy .section-title {
  margin-bottom: 0.75rem;
}

.phone__copy p {
  margin: 0;
  color: var(--muted);
  max-width: 34rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #fff;
}

.path {
  padding: 2rem 0 4.5rem;
  background: var(--deep);
}

.path__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .path__grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.path__beats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.path__beats li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}

.path__num {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  color: #1a0f0a;
  font-family: var(--display);
  font-weight: 700;
}

.path__beats h3 {
  margin-bottom: 0.2rem;
  color: #fff;
}

.path__beats p {
  margin: 0;
  color: var(--muted);
}

.close {
  padding: 1rem 0 4.5rem;
  background: linear-gradient(180deg, var(--deep), #060b18);
}

.close__inner {
  text-align: center;
  max-width: 32rem;
  margin-inline: auto;
}

.close__icon {
  margin: 0 auto 1rem;
  border-radius: 22px;
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.25),
    0 16px 36px rgba(0, 0, 0, 0.4);
}

.close__inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: #fff;
}

.close__inner p {
  color: var(--muted);
  margin: 0.7rem 0 1.3rem;
}

.close__inner .btn {
  margin-inline: auto;
}

.foot {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #040812;
}

.foot__inner {
  display: grid;
  gap: 1rem;
}

.foot__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 700;
}

.foot__brand img {
  border-radius: 8px;
}

.foot__by {
  color: var(--muted);
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.9rem;
}

.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.foot__links a {
  color: var(--foam);
  font-weight: 700;
}

.foot__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.motion-rise {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.7s ease forwards;
}

.motion-rise--2 { animation-delay: 0.1s; }
.motion-rise--3 { animation-delay: 0.2s; }
.motion-rise--4 { animation-delay: 0.3s; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 640px) {
  .top__nav a:not(.top__cta) {
    display: none;
  }

  .hero__layout {
    padding-top: 5.75rem;
    gap: 1.75rem;
  }

  .hero__device {
    width: min(68vw, 230px);
  }

  .brand-lockup {
    font-size: clamp(2.6rem, 12vw, 3.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-rise,
  .reveal,
  .device {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
