@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  color-scheme: light;
  --ink: #10213b;
  --muted: #536983;
  --blue: #1672e8;
  --blue-dark: #0755bb;
  --line: rgba(33, 91, 157, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 50% 20%, rgba(255,255,255,.96) 0%, rgba(243,249,255,.9) 35%, rgba(224,241,255,.98) 100%);
  display: flex;
  flex-direction: column;
  position: relative;
}

.page-glow { position: fixed; border-radius: 50%; pointer-events: none; z-index: -1; filter: blur(2px); }
.page-glow--one { width: 390px; height: 390px; top: 20%; left: -250px; background: rgba(75, 161, 255, .15); }
.page-glow--two { width: 490px; height: 490px; right: -330px; top: 42%; background: rgba(34, 126, 235, .10); }

.site-header {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .12em;
}
.brand-light { font-weight: 600; color: #3573b9; }
.brand-mark {
  display: block;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  overflow: hidden;
  filter: drop-shadow(0 3px 5px rgba(18, 48, 86, .16));
}
.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.community-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 43px;
  padding: 0 15px;
  border: 1px solid rgba(29, 89, 157, .17);
  border-radius: 13px;
  background: rgba(255,255,255,.68);
  color: #21466e;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 5px 20px rgba(45, 100, 162, .06);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.community-link:hover { transform: translateY(-2px); background: white; border-color: rgba(29, 89, 157, .35); }
.community-link svg { width: 19px; height: 19px; fill: currentColor; }
.community-link .external-icon { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .65; }

.hero {
  width: min(960px, calc(100% - 40px));
  margin: 13px auto 0;
  padding: 0 0 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.logo-frame {
  width: min(100%, 900px);
  overflow: hidden;
  border-radius: 24px;
  background: #9acfff;
  box-shadow: 0 22px 55px rgba(34, 103, 182, .16), 0 2px 5px rgba(30, 82, 143, .07);
  line-height: 0;
  isolation: isolate;
}
.hero-logo { display: block; width: 100%; height: auto; object-fit: cover; }
.hero-copy { display: flex; align-items: center; flex-direction: column; margin-top: 34px; max-width: 690px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin-bottom: 16px;
  border: 1px solid rgba(33, 115, 202, .14);
  border-radius: 999px;
  color: #2767a8;
  background: rgba(255,255,255,.57);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #2494f7; box-shadow: 0 0 0 4px rgba(36,148,247,.12); }
h1 { margin: 0; font-size: clamp(34px, 5vw, 56px); line-height: 1.06; letter-spacing: -.055em; font-weight: 900; }
h1 span { color: #2177d9; }
.description { max-width: 620px; margin: 19px 0 23px; color: var(--muted); font-size: 16px; line-height: 1.75; }
code { display: inline-block; padding: 1px 6px; border: 1px solid rgba(32, 105, 190, .13); border-radius: 6px; background: rgba(255,255,255,.7); color: #185fae; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
.invite-button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 0 24px;
  border: 1px solid #2d8bf4;
  border-radius: 16px;
  background: linear-gradient(135deg, #288df9 0%, #1266d4 100%);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(22, 107, 220, .24), inset 0 1px 0 rgba(255,255,255,.2);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.invite-button:hover { transform: translateY(-3px); filter: saturate(1.08); box-shadow: 0 17px 32px rgba(22,107,220,.31), inset 0 1px 0 rgba(255,255,255,.2); }
.support-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  margin-top: 14px;
  padding: 0 17px;
  border: 1px solid rgba(29, 89, 157, .18);
  border-radius: 13px;
  background: rgba(255,255,255,.72);
  color: #21466e;
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
  box-shadow: 0 5px 18px rgba(45, 100, 162, .06);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.support-button:hover { transform: translateY(-2px); background: white; border-color: rgba(29, 89, 157, .35); }
.support-button svg { width: 18px; height: 18px; fill: currentColor; }
.invite-button:focus-visible, .community-link:focus-visible, .support-button:focus-visible, .site-footer a:focus-visible { outline: 3px solid #ff8a22; outline-offset: 4px; }
.invite-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.invite-button .button-arrow { width: 18px; height: 18px; margin-left: 4px; opacity: .85; transition: transform .18s ease; }
.invite-button:hover .button-arrow { transform: translateX(3px); }
.microcopy { margin: 11px 0 0; color: #71849c; font-size: 11px; font-weight: 500; }
.feature-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 21px; margin-top: 35px; color: #45617e; font-size: 12px; font-weight: 700; }
.feature { display: inline-flex; align-items: center; gap: 8px; }
.feature-icon { display: inline-grid; place-items: center; width: 25px; height: 25px; border: 1px solid rgba(30,111,200,.13); border-radius: 8px; background: rgba(255,255,255,.65); color: #1e73cf; font-size: 13px; font-weight: 800; }
.feature-separator { width: 4px; height: 4px; border-radius: 50%; background: #96bde6; }
.site-footer {
  width: min(1160px, calc(100% - 48px));
  margin: auto auto 0;
  padding: 22px 0 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line);
  color: #7a8da4;
  font-size: 11px;
}
.site-footer a { color: #426c9c; text-decoration: none; font-weight: 700; }
.footer-links { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 16px; }
.inline-link { color: #2b73c8; font-weight: 700; text-decoration: none; }
.inline-link:hover { color: var(--blue-dark); text-decoration: underline; }
.site-footer a:hover { color: var(--blue-dark); text-decoration: underline; }

@media (max-width: 640px) {
  .site-header { width: calc(100% - 28px); padding: 15px 0; gap: 10px; }
  .brand { gap: 7px; font-size: 12px; letter-spacing: .08em; }
  .brand-mark { flex-basis: 30px; width: 30px; height: 30px; }
  .community-link { min-height: 38px; padding: 0 10px; gap: 6px; border-radius: 11px; font-size: 11px; }
  .community-link svg { width: 16px; height: 16px; }
  .community-link .external-icon { display: none; }
  .hero { width: calc(100% - 28px); margin-top: 14px; padding-bottom: 28px; }
  .logo-frame { border-radius: 15px; }
  .hero-copy { margin-top: 27px; }
  .eyebrow { margin-bottom: 13px; font-size: 10px; }
  h1 { font-size: clamp(32px, 9vw, 44px); }
  .description { margin: 15px 0 21px; font-size: 14px; line-height: 1.7; }
  .invite-button { min-height: 54px; border-radius: 14px; font-size: 15px; }
  .support-button { min-height: 42px; font-size: 12px; }
  .feature-row { gap: 11px 15px; margin-top: 27px; font-size: 11px; }
  .feature-separator { display: none; }
  .site-footer { width: calc(100% - 28px); flex-wrap: wrap; justify-content: center; text-align: center; padding: 19px 0 22px; }
  .footer-links { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}


/* Legal / information pages */
.legal-page {
  width: min(900px, calc(100% - 40px));
  margin: 18px auto 48px;
  padding: clamp(22px, 5vw, 48px);
  border: 1px solid rgba(33, 91, 157, .12);
  border-radius: 22px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 18px 48px rgba(34, 103, 182, .09);
}
.legal-back { display: inline-block; margin-bottom: 22px; color: #2767a8; text-decoration: none; font-size: 13px; font-weight: 800; }
.legal-back:hover { text-decoration: underline; }
.legal-page h1 { font-size: clamp(32px, 5vw, 48px); margin: 0 0 10px; }
.legal-updated { margin: 0 0 30px; color: #71849c; font-size: 13px; }
.legal-page h2 { margin: 28px 0 8px; font-size: 20px; letter-spacing: -.025em; }
.legal-page p, .legal-page li { color: #536983; font-size: 15px; line-height: 1.75; }
.legal-page p { margin: 8px 0 13px; }
.legal-page ul { padding-left: 23px; }
.legal-page li { margin: 5px 0; }
.legal-page a:not(.legal-back) { color: #216fc5; }
.legal-note { padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(33, 115, 202, .15); background: rgba(225, 241, 255, .56); color: #3f5e80; font-size: 13px; line-height: 1.65; }
@media (max-width: 640px) {
  .legal-page { width: calc(100% - 28px); margin: 12px auto 28px; padding: 22px 18px; border-radius: 16px; }
  .legal-page h2 { font-size: 18px; }
  .legal-page p, .legal-page li { font-size: 14px; }
}
