:root {
  color-scheme: light;
  --ink: #18212c;
  --muted: #596775;
  --line: #dce4ec;
  --panel: #ffffff;
  --page: #f6f8fa;
  --teal: #0ebbc2;
  --navy: #071d3b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: #075f9c;
}

.page {
  min-height: 100vh;
}

.topbar {
  align-items: center;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 14px 24px;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
  height: 34px;
  width: 34px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  background: linear-gradient(135deg, var(--navy), #0b394a 55%, #0c7175);
  color: #ffffff;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 220px;
  margin: 0;
  padding: 56px 24px;
}

.hero-content,
.content {
  margin: 0 auto;
  max-width: 920px;
  width: 100%;
}

.hero-content {
  align-self: center;
}

.hero h1 {
  font-size: clamp(40px, 8vw, 72px);
  line-height: 0.95;
  margin: 0 0 14px;
}

.hero p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  margin: 0;
  max-width: 700px;
}

.hero-logo {
  align-self: center;
  border-radius: 28px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  max-width: 220px;
  width: 100%;
}

.content {
  padding: 34px 24px 56px;
}

.section {
  margin: 0 0 30px;
}

.section h2,
.section h1 {
  font-size: 30px;
  line-height: 1.1;
  margin: 0 0 10px;
}

.section p,
.section li {
  color: var(--muted);
  font-size: 17px;
}

.grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.card h3 {
  margin: 0 0 8px;
}

.fine-print {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  margin-top: 30px;
  padding-top: 18px;
}

.invite-page {
  align-items: center;
  background:
    radial-gradient(circle at 20% 10%, rgba(111, 142, 117, 0.16), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(14, 187, 194, 0.12), transparent 28%),
    #faf8f3;
  display: flex;
  justify-content: center;
  padding: 28px;
}

.invite-shell {
  background: #ffffff;
  border: 1px solid #ece7de;
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(7, 29, 59, 0.1);
  max-width: 460px;
  padding: 34px;
  text-align: center;
  width: 100%;
}

.invite-logo {
  border-radius: 22px;
  height: 92px;
  margin-bottom: 18px;
  width: 92px;
}

.invite-eyebrow {
  color: #184d38;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.invite-shell h1 {
  color: #18212c;
  font-size: 40px;
  line-height: 1;
  margin: 0 0 12px;
}

.invite-copy,
.invite-note {
  color: #596775;
  font-size: 17px;
  margin: 0 auto;
}

.invite-actions {
  display: grid;
  gap: 12px;
  margin: 28px 0 18px;
}

.button-primary,
.button-secondary {
  border-radius: 18px;
  display: block;
  font-size: 17px;
  font-weight: 800;
  padding: 15px 18px;
  text-decoration: none;
}

.button-primary {
  background: #184d38;
  color: #ffffff;
}

.button-secondary {
  background: #ffffff;
  border: 1px solid #b6c7bd;
  color: #184d38;
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 36px;
  }

  .hero-logo {
    max-width: 160px;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
