:root {
  --navy: #071225;
  --deep-blue: #0047c7;
  --bright-blue: #006bff;
  --orange: #ff7a00;
  --white: #ffffff;
  --soft-bg: #f7faff;
  --text: #0f172a;
  --text-muted: #475569;
  --border: #e2e8f0;
  --radius: 16px;
  --shadow: 0 18px 48px rgba(7, 18, 37, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--soft-bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--deep-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--deep-blue) 100%);
  color: var(--white);
  padding: 1rem 0 3rem;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

a.brand {
  color: inherit;
  text-decoration: none;
}

a.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-tagline {
  font-size: 0.9rem;
  opacity: 0.85;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  font-size: 0.92rem;
}

.nav-links a {
  color: var(--white);
  opacity: 0.92;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-copy p {
  margin: 0 0 1.5rem;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 38rem;
}

.hero-logo {
  display: flex;
  justify-content: center;
}

.hero-logo img {
  width: min(100%, 320px);
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.25));
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(255, 122, 0, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.content-card .btn-secondary {
  background: var(--soft-bg);
  color: var(--deep-blue);
  border: 1px solid var(--border);
  box-shadow: none;
}

.section {
  padding: 4rem 0;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}

.section-intro {
  margin: 0 0 2rem;
  color: var(--text-muted);
  max-width: 42rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
  color: var(--deep-blue);
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.feature-badge {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  text-align: center;
  border-radius: 999px;
  background: var(--bright-blue);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.feature-card:nth-child(2) .feature-badge {
  background: var(--deep-blue);
}

.feature-card:nth-child(3) .feature-badge {
  background: var(--orange);
}

.feature-card:nth-child(4) .feature-badge {
  background: var(--navy);
}

.page-main {
  padding: 2.5rem 0 4rem;
}

.content-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.content-card h1 {
  margin-top: 0;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.content-card h2 {
  margin-top: 2rem;
  font-size: 1.2rem;
  color: var(--deep-blue);
}

.content-card p,
.content-card li {
  color: var(--text-muted);
}

.content-card ul {
  padding-left: 1.2rem;
}

.invite-card {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.invite-card img {
  width: 180px;
  margin-bottom: 1rem;
}

.invite-card h1 {
  margin-bottom: 0.75rem;
}

.invite-card p {
  color: var(--text-muted);
}

.invite-token {
  display: inline-block;
  margin: 1rem 0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--soft-bg);
  border: 1px solid var(--border);
  font-family: Consolas, monospace;
  font-size: 0.85rem;
  color: var(--text);
  word-break: break-all;
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  padding: 2rem 0;
  font-size: 0.92rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: var(--white);
  opacity: 0.9;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

  .header-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}
