:root {
  color-scheme: light;
  --canvas: #fafaf9;
  --card: #ffffff;
  --sunk: #f3f2ef;
  --line: #eae9e6;
  --ink: #17181b;
  --ink-2: #6b6c70;
  --ink-3: #a4a5a8;
  --sky: #0aa2ff;
  --coral: #ff6b52;
  --honey: #ffb422;
  --iris: #7b6cff;
  --shadow-card: 0 18px 54px -24px rgba(17, 18, 20, 0.22), 0 6px 18px rgba(17, 18, 20, 0.06);
  --shadow-pill: 0 14px 28px -16px rgba(17, 18, 20, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--canvas);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 143, 200, 0.18), transparent 34rem),
    radial-gradient(circle at 42% 42%, rgba(86, 199, 255, 0.16), transparent 28rem),
    var(--canvas);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.home {
  min-height: 100svh;
  overflow: hidden;
}

a {
  color: inherit;
}

.site-shell {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 28px clamp(22px, 5vw, 56px);
}

.home .site-shell {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 750;
  font-size: 18px;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 28%;
  box-shadow: var(--shadow-card);
  display: block;
}

.site-nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 560;
}

.site-nav a,
.footer-links a {
  text-decoration: none;
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(28px, 7svh, 76px) 0;
}

.hero-inner {
  width: min(100%, 720px);
  display: grid;
  justify-items: center;
  gap: clamp(18px, 3svh, 28px);
}

.hero-logo-wrap {
  position: relative;
  width: clamp(126px, 19vw, 188px);
  height: clamp(126px, 19vw, 188px);
  display: grid;
  place-items: center;
}

.hero-logo-wrap::before {
  content: "";
  position: absolute;
  inset: -24%;
  border-radius: 42%;
  background:
    radial-gradient(circle at 32% 35%, rgba(255, 143, 200, 0.82), transparent 38%),
    radial-gradient(circle at 69% 52%, rgba(86, 199, 255, 0.78), transparent 40%),
    radial-gradient(circle at 47% 72%, rgba(185, 140, 255, 0.62), transparent 36%);
  filter: blur(26px);
  opacity: 0.72;
}

.hero-logo {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 30%;
  display: block;
  box-shadow: 0 26px 76px -34px rgba(17, 18, 20, 0.48), 0 8px 20px rgba(17, 18, 20, 0.08);
}

.hero h1 {
  margin: 0;
  font-family: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: clamp(64px, 13vw, 132px);
  line-height: 0.86;
  font-weight: 850;
  letter-spacing: 0;
}

.hero p {
  margin: 0;
  max-width: 560px;
  color: var(--ink-2);
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.18;
  font-weight: 560;
}

.app-store-link,
.mail-link {
  min-height: 58px;
  padding: 0 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #ffffff;
  text-decoration: none;
  font-size: 17px;
  line-height: 1;
  font-weight: 680;
  box-shadow: var(--shadow-pill);
}

.app-store-link:hover,
.mail-link:hover {
  transform: translateY(-1px);
}

.app-store-link:active,
.mail-link:active {
  transform: scale(0.98);
}

.site-footer {
  min-height: 48px;
  color: var(--ink-3);
  font-size: 14px;
  font-weight: 540;
}

.legal-page {
  background: var(--canvas);
}

.legal-shell {
  width: min(100%, 880px);
  margin: 0 auto;
  padding: 28px clamp(22px, 5vw, 56px) 80px;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(48px, 8vw, 76px);
}

.legal-content {
  padding: clamp(28px, 5vw, 52px);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-card);
}

.legal-content h1,
.feedback-card h1 {
  margin: 0 0 14px;
  font-family: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: clamp(40px, 8vw, 72px);
  line-height: 0.94;
  font-weight: 850;
  letter-spacing: 0;
}

.legal-content h2 {
  margin: 38px 0 12px;
  font-size: 22px;
  line-height: 1.12;
}

.legal-content h3 {
  margin: 26px 0 8px;
  font-size: 17px;
  line-height: 1.18;
}

.legal-content p,
.legal-content li,
.feedback-card p {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.62;
}

.legal-content p {
  margin: 0 0 14px;
}

.legal-content ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

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

.updated {
  color: var(--ink-3);
  font-size: 14px;
  font-weight: 560;
}

.feedback-page .site-shell {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.invite-page .site-shell {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.feedback-card {
  align-self: center;
  width: min(100%, 680px);
  margin: 0 auto;
  padding: clamp(34px, 7vw, 64px);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.88);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.feedback-card p {
  margin: 0 auto 26px;
  max-width: 420px;
}

.invite-card {
  align-self: center;
  width: min(100%, 620px);
  margin: 0 auto;
  padding: clamp(34px, 7vw, 64px);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.88);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.invite-card .hero-logo {
  width: clamp(110px, 28vw, 168px);
  height: clamp(110px, 28vw, 168px);
  margin: 0 auto 28px;
}

.invite-card h1 {
  margin: 0 0 14px;
  font-family: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: clamp(44px, 10vw, 76px);
  line-height: 0.94;
  font-weight: 850;
  letter-spacing: 0;
}

.invite-card p {
  margin: 0 auto 28px;
  max-width: 360px;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 560;
}

.invite-actions {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.secondary-link {
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.secondary-link:hover {
  color: var(--ink);
}

button.app-store-link {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.legal-shell .site-footer,
.feedback-page .site-footer,
.invite-page .site-footer {
  margin-top: 32px;
}

@media (max-width: 680px) {
  .site-header,
  .site-footer,
  .legal-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav,
  .footer-links {
    gap: 16px;
    flex-wrap: wrap;
  }

  .home .site-footer {
    flex-direction: row;
    align-items: center;
  }

  .hero {
    padding: 30px 0;
  }

  .hero h1 {
    font-size: clamp(60px, 22vw, 88px);
  }
}

@media (max-height: 700px) {
  .site-shell {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .hero-inner {
    gap: 14px;
  }

  .hero-logo-wrap {
    width: 118px;
    height: 118px;
  }

  .hero h1 {
    font-size: clamp(56px, 12vw, 92px);
  }

  .hero p {
    font-size: clamp(18px, 3vw, 23px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .app-store-link,
  .mail-link,
  .site-nav a,
  .footer-links a {
    transition: transform 140ms ease, color 140ms ease;
  }
}
