:root {
  --navy: #024b85;
  --navy-dark: #012f55;
  --sky: #abd4ff;
  --sky-soft: #eef8ff;
  --magenta: #ff8cd2;
  --text: #08233d;
  --text-soft: #55718d;
  --surface: rgba(255, 255, 255, 0.82);
  --line: rgba(2, 75, 133, 0.14);
  --shadow: 0 28px 80px rgba(2, 75, 133, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 720px at 12% -10%, rgba(255, 140, 210, 0.055), transparent 66%),
    radial-gradient(1180px 760px at 94% 6%, rgba(171, 212, 255, 0.16), transparent 68%),
    linear-gradient(180deg, #ffffff 0%, #f9fcff 52%, #ffffff 100%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.link-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: max(1rem, env(safe-area-inset-top)) 1rem max(1.2rem, env(safe-area-inset-bottom));
  position: relative;
  overflow: hidden;
  background: transparent;
}

.link-card {
  width: min(100%, 480px);
  position: relative;
  z-index: 1;
  padding: clamp(1.1rem, 5vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.78)),
    var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(1.25);
}

.brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.brand__logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(2, 75, 133, 0.2);
}

.brand__text {
  color: var(--navy);
  font-size: 1.28rem;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.hero-copy {
  text-align: left;
  margin-bottom: 1.4rem;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 0.75rem;
  padding: 0.45rem 0.72rem;
  border: 1px solid rgba(2, 75, 133, 0.12);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(171, 212, 255, 0.34);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1 {
  margin: 0;
  color: var(--navy-dark);
  font-size: clamp(2.15rem, 10vw, 3.3rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
}

.hero-copy p:not(.eyebrow) {
  margin: 1rem 0 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 650;
}

.links {
  display: grid;
  gap: 0.82rem;
}

.link-button {
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 38px rgba(2, 75, 133, 0.1);
  color: var(--text);
  font-weight: 950;
  letter-spacing: -0.02em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.link-button:hover,
.link-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(2, 75, 133, 0.28);
  box-shadow: 0 20px 46px rgba(2, 75, 133, 0.16);
  outline: none;
}

.link-button--apple {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, #08233d, #024b85);
}

.link-button--google {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, #024b85, #0a78c7, #ff8cd2);
}

.link-button__icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(2, 75, 133, 0.08);
  font-size: 1.25rem;
}

.link-button--apple .link-button__icon,
.link-button--google .link-button__icon {
  background: rgba(255, 255, 255, 0.18);
}

.microcopy {
  margin: 1.25rem 0 0;
  color: var(--text-soft);
  text-align: center;
  font-size: 0.88rem;
  font-weight: 750;
}

@media (max-width: 420px) {
  .link-page {
    padding-inline: 0.75rem;
  }

  .link-card {
    border-radius: 28px;
  }

  .brand__logo {
    width: 48px;
    height: 48px;
  }

  .link-button {
    min-height: 62px;
    border-radius: 20px;
    font-size: 0.98rem;
  }
}
