:root {
  --brand-blue: #86c6fd;
  --brand-blue-rgb: 134, 198, 253;
  color-scheme: light;
  --ink: #171717;
  --muted: #6f706b;
  --paper: #fbfaf6;
  --card: rgba(255, 255, 255, 0.84);
  --line: rgba(23, 23, 23, 0.09);
  --shadow: 0 24px 80px rgba(28, 28, 24, 0.14);
  --accent: #c13a96;
  --accent-2: var(--brand-blue);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-size: 19.2px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(var(--brand-blue-rgb), 0.32), transparent 34rem),
    radial-gradient(circle at bottom right, rgba(193, 58, 150, 0.18), transparent 30rem),
    var(--paper);
}

.page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0;
}

.content {
  position: relative;
  z-index: 1;
}

.logo {
  width: 132px;
  height: auto;
  display: block;
  margin-bottom: 34px;
}

.brand-logo {
  border-radius: 14px;
  width: 154px;
  max-height: 86px;
  object-fit: contain;
  object-position: left center;
}

.invite-page .brand-logo {
  border-radius: 14px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: #474842;
  font-size: 15.6px;
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  overflow-wrap: anywhere;
  hyphens: auto;
  max-width: 660px;
  margin: 0;
  font-size: clamp(55.2px, 8.4vw, 103.2px);
  line-height: 0.92;
  letter-spacing: 0;
}

.lead {
  max-width: 570px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(19.2px, 2.4vw, 24px);
  font-weight: 700;
  line-height: 1.45;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  min-height: 52px;
  max-width: 100%;
  padding: 12px 21px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #fff;
  background: #111;
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.18);
  text-decoration: none;
  font: inherit;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: none;
}

.code {
  display: none;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  width: fit-content;
  margin-top: 18px;
  padding: 10px 13px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  color: #4b4c47;
  font-size: 15.6px;
  font-weight: 800;
}

.code strong {
  color: var(--ink);
}

.copy-code {
  appearance: none;
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 14.4px;
  font-weight: 900;
  cursor: pointer;
}

.copy-code:focus-visible {
  outline: 3px solid rgba(var(--brand-blue-rgb), 0.7);
  outline-offset: 2px;
}

.hero {
  position: relative;
  min-height: 650px;
}

.phone {
  position: absolute;
  right: 1%;
  top: 4%;
  width: min(44vw, 245px);
  overflow: hidden;
  border: 6px solid #111;
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow);
}

.phone.back {
  right: 51%;
  top: 12%;
}

.phone img {
  width: 100%;
  height: auto;
  display: block;
  image-rendering: auto;
}

.floating-card {
  position: absolute;
  left: 2%;
  bottom: 9%;
  width: min(82%, 310px);
  padding: 18px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 54px rgba(28, 28, 24, 0.16);
  backdrop-filter: blur(20px);
}

.floating-card .title {
  margin: 0;
  font-size: 20.4px;
  font-weight: 950;
}

.floating-card .text {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15.6px;
  font-weight: 700;
  line-height: 1.35;
}

.status {
  margin-top: 18px;
  min-height: 20px;
  color: #7b7c75;
  font-size: 15.6px;
  font-weight: 700;
}

/* Invite screenshots form one overlapping composition rather than two columns. */
.invite-page .phone {
  right: 2%;
  transform: rotate(1.2deg);
  transform-origin: 50% 100%;
}

.invite-page .phone.back {
  right: 39%;
  transform: rotate(-2.2deg);
}

@media (max-width: 820px) {
  .page {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 28px 0 0;
  }

  .logo {
    width: 108px;
    margin-bottom: 24px;
  }

  .brand-logo {
    width: 126px;
    max-height: 72px;
  }

  .hero {
    min-height: 410px;
    margin-top: -8px;
    overflow: hidden;
  }

  .invite-page .hero {
    min-height: clamp(460px, 102vw, 630px);
    margin-top: -8px;
    margin-bottom: 24px;
    overflow: visible;
  }

  .phone {
    right: 4%;
    width: min(43vw, 205px);
    border-width: 5px;
    border-radius: 30px;
  }

  .phone.back {
    right: 53%;
  }

  .invite-page .phone {
    top: 8px;
    right: 3%;
    width: min(43vw, 260px);
  }

  .invite-page .phone.back {
    top: clamp(34px, 6vw, 54px);
    right: 34%;
  }

  .floating-card {
    left: 0;
    bottom: 26px;
  }

  .invite-page .floating-card {
    bottom: 18px;
  }
}
