@font-face {
  font-family: Fredoka;
  src: url("/Fredoka_600SemiBold.ttf");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url("/Nunito_400Regular.ttf");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url("/Nunito_700Bold.ttf");
  font-weight: 700;
  font-display: swap;
}
:root {
  font-family: Nunito, system-ui, sans-serif;
  color: #2c2340;
  background: #f7f5f8;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100svh;
  background: radial-gradient(ellipse at 50% 0%, #fce7ef, transparent 65%);
}
main {
  max-width: 500px;
  margin: auto;
  padding: 40px 20px;
}
.brand {
  text-align: center;
  font-family: Fredoka, system-ui, sans-serif;
  font-size: 22px;
  margin: 0 0 32px;
}
.invitation {
  background: white;
  border: 1px solid #eee8f0;
  border-radius: 28px;
  padding: 28px;
}
h1 {
  font-family: Fredoka, system-ui, sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin: 12px 0;
  overflow-wrap: anywhere;
}
p {
  font-size: 16px;
  line-height: 1.5;
  margin: 16px 0;
}
p:empty {
  display: none;
}
.group-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: #fff0f6;
  color: #c63778;
  border-radius: 18px;
}
.group-mark svg {
  width: 30px;
  height: 30px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 1.3px;
  color: #70667e;
  margin-top: 24px;
  font-weight: 700;
}
#inviter {
  color: #70667e;
  overflow-wrap: anywhere;
  margin-top: 8px;
}
.intro {
  margin: 24px 0;
}
.hint,
.privacy {
  font-size: 14px;
  color: #70667e;
}
.privacy {
  text-align: center;
  margin: 20px 0;
}
.primary {
  display: block;
  background: #c63778;
  color: #fff;
  border-radius: 50px;
  padding: 14px 18px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  width: 100%;
}
a,
button,
summary {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
a,
button {
  font: inherit;
  min-height: 44px;
}
button {
  border: 0;
  background: transparent;
  color: #a92963;
  padding: 12px 0;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.stores {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stores a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a92963;
  text-underline-offset: 4px;
  margin-top: 12px;
}
details {
  border-top: 1px solid #eee8f0;
  padding-top: 16px;
  margin-top: 16px;
}
summary {
  min-height: 44px;
  line-height: 1.5;
  font-size: 14px;
  color: #70667e;
}
details p {
  font-size: 14px;
  color: #70667e;
}
canvas {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 16px auto;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #6853a3;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 380px) {
  main {
    padding: 24px 16px;
  }
  .invitation {
    padding: 24px;
  }
  h1 {
    font-size: 28px;
  }
}

/* Public pages share the app's typography and quiet, compact surfaces. */
a {
  color: #a92963;
  text-underline-offset: 4px;
}
.brand {
  display: block;
  color: #2c2340;
  text-decoration: none;
}
.public-page {
  max-width: 660px;
}
h2 {
  font-family: Fredoka, system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.3;
  margin: 24px 0 12px;
}
.home h1 {
  font-size: clamp(2rem, 6vw, 2.75rem);
}
.home .eyebrow {
  margin-top: 0;
}
.beta-note {
  border-top: 1px solid #eee8f0;
  padding-top: 20px;
  color: #70667e;
  font-size: 0.875rem;
}
.guide {
  padding: 0 8px;
  margin-top: 24px;
}
.guide ol {
  padding-left: 24px;
  line-height: 1.6;
}
.guide li {
  padding-left: 4px;
  margin: 16px 0;
}
.text-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
  font-weight: 700;
}
.prose a {
  overflow-wrap: anywhere;
}
.prose details:first-of-type {
  margin-top: 24px;
}
.prose summary {
  font-size: 1rem;
  color: #2c2340;
  font-weight: 700;
}
.prose details p {
  font-size: 1rem;
}
footer {
  margin-top: 32px;
  text-align: center;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}
footer a {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
}
footer p {
  color: #70667e;
  font-size: 0.875rem;
  margin: 8px 0 0;
}
