:root {
  color-scheme: dark;
  --ink: #06141a;
  --ink-deep: #030b0f;
  --panel: rgba(12, 32, 40, 0.82);
  --panel-strong: rgba(14, 38, 48, 0.94);
  --line: rgba(153, 203, 213, 0.16);
  --text: #f5fbfa;
  --muted: #9eb2b7;
  --mint: #63e5c6;
  --cyan: #5cbce9;
  --coral: #f2a28f;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--ink-deep);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, rgba(2, 12, 16, 0.3), rgba(2, 10, 14, 0.9)),
    url("miami-dusk.jpg") center top / cover fixed,
    var(--ink-deep);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 20%, rgba(99, 229, 198, 0.13), transparent 31rem),
    radial-gradient(circle at 88% 24%, rgba(242, 162, 143, 0.11), transparent 28rem),
    linear-gradient(90deg, rgba(3, 12, 16, 0.2), rgba(3, 12, 16, 0.02) 50%, rgba(3, 12, 16, 0.22));
}

a {
  color: inherit;
}

.page-shell {
  width: min(1480px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 30px 0 24px;
  display: flex;
  flex-direction: column;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
}

.brand img {
  width: 54px;
  height: 54px;
  border-radius: 13px;
  filter: drop-shadow(0 10px 22px rgba(60, 214, 196, 0.22));
}

.brand p {
  margin: 0;
}

.wordmark {
  font-size: 1.04rem;
  font-weight: 900;
  letter-spacing: 0.24em;
}

.brand-line {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px !important;
  color: #9aaeb2;
  font-size: 0.61rem;
  font-weight: 750;
  letter-spacing: 0.21em;
}

.brand-line span {
  width: 16px;
  height: 2px;
  border-radius: 99px;
  background: var(--mint);
  box-shadow: 0 0 16px rgba(99, 229, 198, 0.85);
}

main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(250px, 0.55fr) minmax(760px, 1.45fr);
  align-items: center;
  gap: clamp(42px, 6vw, 104px);
  padding: clamp(46px, 7vh, 88px) 0;
}

.intro {
  align-self: center;
  max-width: 460px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--mint);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.24em;
}

.eyebrow::before {
  width: 34px;
  height: 1px;
  content: "";
  background: currentColor;
  box-shadow: 0 0 16px currentColor;
}

h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(3.35rem, 5.7vw, 6.9rem);
  font-weight: 760;
  line-height: 0.91;
  letter-spacing: -0.066em;
  text-wrap: balance;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.lede {
  max-width: 430px;
  margin: 28px 0 0;
  color: #b4c4c7;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.65;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.platform-card {
  position: relative;
  isolation: isolate;
  min-height: 650px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  text-decoration: none;
  background:
    linear-gradient(160deg, rgba(18, 48, 59, 0.94), rgba(6, 20, 26, 0.95) 62%),
    var(--panel);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.38),
    inset 0 1px rgba(255, 255, 255, 0.055);
  transition:
    transform 250ms cubic-bezier(0.2, 0.85, 0.25, 1),
    border-color 250ms ease,
    box-shadow 250ms ease;
}

.platform-card::after {
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  content: "";
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0);
  transition: box-shadow 250ms ease;
}

.platform-card:hover,
.platform-card:focus-within {
  transform: translateY(-8px);
  border-color: rgba(112, 230, 210, 0.48);
  outline: none;
  box-shadow:
    0 38px 100px rgba(0, 0, 0, 0.48),
    0 0 52px rgba(75, 204, 191, 0.11),
    inset 0 1px rgba(255, 255, 255, 0.09);
}

.platform-card:hover::after,
.platform-card:focus-within::after {
  box-shadow: inset 0 0 0 1px rgba(112, 230, 210, 0.19);
}

.card-glow {
  position: absolute;
  top: -110px;
  right: -90px;
  z-index: -1;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(99, 229, 198, 0.14);
  filter: blur(70px);
  transition: transform 500ms ease;
}

.ios-card .card-glow {
  background: rgba(242, 162, 143, 0.16);
}

.platform-card:hover .card-glow,
.platform-card:focus-within .card-glow {
  transform: scale(1.3) translate(-7%, 8%);
}

.card-copy {
  position: relative;
  z-index: 3;
  padding: 34px 34px 0;
}

.platform-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #b4c4c7;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.19em;
}

.device-icon {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(99, 229, 198, 0.27);
  border-radius: 9px;
  color: var(--mint);
  background: rgba(99, 229, 198, 0.08);
}

.ios-card .device-icon {
  border-color: rgba(242, 162, 143, 0.27);
  color: var(--coral);
  background: rgba(242, 162, 143, 0.08);
}

.device-icon svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-copy h2 {
  margin: 22px 0 13px;
  font-size: clamp(2.2rem, 3vw, 3.15rem);
  line-height: 0.98;
  letter-spacing: -0.048em;
}

.card-copy > p {
  max-width: 300px;
  margin: 0;
  color: #adc0c4;
  font-size: 0.98rem;
  line-height: 1.5;
}

.card-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 19px 0 0;
  padding: 0;
  list-style: none;
}

.card-copy li {
  padding: 7px 10px;
  border: 1px solid rgba(151, 197, 205, 0.13);
  border-radius: 99px;
  color: #9fb3b7;
  font-size: 0.66rem;
  font-weight: 720;
  background: rgba(2, 13, 17, 0.34);
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
}

.premium-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 17px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  color: #071419;
  font-size: 0.76rem;
  font-weight: 880;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.25),
    inset 0 1px rgba(255, 255, 255, 0.38);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.premium-cta::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.34), transparent 64%);
  transform: translateX(-120%);
  transition: transform 420ms ease;
}

.premium-cta:hover,
.premium-cta:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.premium-cta:hover::before,
.premium-cta:focus-visible::before {
  transform: translateX(120%);
}

.ios-primary {
  background: linear-gradient(135deg, #ffad97, #f08b82);
  box-shadow:
    0 13px 30px rgba(238, 137, 126, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.45);
}

.mac-primary {
  background: linear-gradient(135deg, #61e5c6, #55bde9);
  box-shadow:
    0 13px 30px rgba(73, 206, 195, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.45);
}

.store-cta {
  border-color: rgba(242, 162, 143, 0.26);
  color: #f8fbfa;
  background: rgba(4, 16, 21, 0.78);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.25),
    inset 0 1px rgba(255, 255, 255, 0.07);
}

.premium-cta > svg:not(.apple-mark) {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms ease;
}

.premium-cta:hover > svg:not(.apple-mark),
.premium-cta:focus-visible > svg:not(.apple-mark) {
  transform: translate(3px, -3px);
}

.apple-mark {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.ios-visual,
.mac-visual {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 246px;
  overflow: hidden;
}

.ios-visual {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  border-top: 1px solid rgba(242, 162, 143, 0.13);
  background:
    radial-gradient(circle at 50% 34%, rgba(242, 162, 143, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(8, 24, 30, 0.35), rgba(3, 12, 16, 0.88));
}

.ios-visual img {
  position: relative;
  z-index: 1;
  width: 212px;
  margin-top: 18px;
  border: 1px solid rgba(112, 225, 208, 0.25);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.54);
  transition: transform 420ms cubic-bezier(0.2, 0.85, 0.25, 1);
}

.phone-halo {
  position: absolute;
  top: 58px;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(242, 162, 143, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(242, 162, 143, 0.08);
}

.mac-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 18px 20px 0;
  border-top: 1px solid rgba(99, 229, 198, 0.12);
  background:
    linear-gradient(rgba(7, 25, 31, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 25, 31, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 50% 52%, rgba(92, 188, 233, 0.13), transparent 67%),
    rgba(3, 12, 16, 0.46);
  background-size: 24px 24px, 24px 24px, auto, auto;
}

.desktop-frame {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  overflow: hidden;
  padding: 11px 7px 7px;
  border: 1px solid rgba(194, 226, 231, 0.29);
  border-radius: 14px;
  background: #071117;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.55);
  transition: transform 420ms cubic-bezier(0.2, 0.85, 0.25, 1);
}

.desktop-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 7px;
  object-fit: cover;
  object-position: top center;
}

.camera-dot {
  position: absolute;
  top: 4px;
  left: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #40545b;
  transform: translateX(-50%);
}

.desktop-stand {
  width: 98px;
  height: 17px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, #26383e, #8da0a5 48%, #25373d);
  clip-path: polygon(34% 0, 66% 0, 72% 75%, 93% 82%, 100% 100%, 0 100%, 7% 82%, 28% 75%);
  opacity: 0.82;
}

.platform-card:hover .ios-visual img,
.platform-card:focus-within .ios-visual img,
.platform-card:hover .desktop-frame,
.platform-card:focus-within .desktop-frame {
  transform: translateY(-7px) scale(1.018);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(150, 195, 204, 0.11);
  color: #7f969b;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.06em;
}

footer p {
  margin: 0;
}

footer span {
  color: #c3d0d2;
}

@media (max-width: 1180px) {
  main {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 64px 0;
  }

  .intro {
    max-width: 760px;
  }

  h1 {
    font-size: clamp(4.1rem, 10vw, 6.8rem);
  }

  .platform-card {
    min-height: 640px;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 28px, 620px);
    padding-top: 20px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .wordmark {
    font-size: 0.88rem;
  }

  main {
    padding: 54px 0 48px;
  }

  h1 {
    font-size: clamp(3.5rem, 17vw, 5.5rem);
  }

  .lede {
    font-size: 1rem;
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .platform-card {
    min-height: 630px;
  }

  .card-copy {
    padding: 29px 27px 0;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .platform-card {
    min-height: 650px;
    border-radius: 23px;
  }

  .card-copy ul {
    gap: 5px;
  }

  .card-copy li {
    font-size: 0.61rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
