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

:root {
  --brand-50: #f0f9ff;
  --brand-100: #e0f2fe;
  --brand-200: #bae6fd;
  --brand-500: #0ea5e9;
  --brand-600: #0284c7;
  --brand-700: #0369a1;
  --brand-900: #0c4a6e;
  --accent-50: #fdf4ff;
  --accent-100: #fae8ff;
  --accent-500: #d946ef;
  --accent-700: #a21caf;
  --ink: #111827;
  --muted: #4b5563;
  --line: #e5e7eb;
  --panel: #ffffff;
  --shadow: 0 24px 70px rgba(14, 165, 233, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.16), transparent 34rem),
    radial-gradient(circle at bottom right, rgba(217, 70, 239, 0.13), transparent 36rem),
    linear-gradient(135deg, #f9fafb 0%, rgba(240, 249, 255, 0.72) 48%, rgba(253, 244, 255, 0.76) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--brand-700);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 72px;
  padding: 16px 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(229, 231, 235, 0.92);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--brand-700);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: linear-gradient(135deg, var(--brand-600), var(--accent-500));
  box-shadow: 0 10px 26px rgba(14, 165, 233, 0.28);
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

nav a,
.button,
.auth-buttons a {
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #374151;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

nav a:hover,
.nav-cta {
  color: var(--brand-600);
  background: var(--brand-50);
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 28px;
  padding: clamp(24px, 5vw, 72px);
}

.hero-copy {
  max-width: 920px;
}

.eyebrow,
.label,
.feature-strip span {
  color: var(--brand-600);
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 800;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.93;
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 900;
}

h2 {
  margin-bottom: 10px;
  font-size: 28px;
  line-height: 1.08;
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy p {
  max-width: 720px;
  font-size: 19px;
}

.actions,
.auth-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.launch-panel {
  margin-top: 28px;
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 18px 52px rgba(14, 165, 233, 0.1);
}

.launch-panel span {
  min-height: 66px;
  padding: 14px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  color: #374151;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.launch-panel span:last-child {
  border-right: 0;
}

.button.primary {
  color: white;
  border: 1px solid var(--brand-600);
  background: var(--brand-600);
  box-shadow: 0 12px 26px rgba(14, 165, 233, 0.26);
}

.button.secondary {
  color: var(--brand-700);
  border: 1px solid var(--brand-200);
  background: white;
}

.signin,
.auth-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.auth-buttons {
  margin: 18px 0 14px;
}

.auth-buttons a {
  border: 1px solid var(--line);
  background: #fff;
}

.auth-buttons a.disabled {
  pointer-events: none;
  color: #9ca3af;
  background: #f9fafb;
}

.auth-buttons a:nth-child(odd) {
  color: var(--brand-700);
  border-color: var(--brand-200);
}

.auth-buttons a:nth-child(even) {
  color: var(--accent-700);
  border-color: var(--accent-100);
}

small {
  color: var(--muted);
}

.session-card {
  margin: 18px 0 14px;
  display: grid;
  gap: 10px;
}

.session-card strong,
.session-card span {
  display: block;
}

.session-card span {
  color: var(--muted);
}

.feature-strip {
  min-height: 100vh;
  padding: 72px clamp(20px, 5vw, 72px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

.feature-strip article {
  min-height: 420px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  box-shadow: 0 18px 58px rgba(14, 165, 233, 0.09);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.feature-strip article:hover {
  border-color: var(--brand-200);
  box-shadow: 0 24px 72px rgba(14, 165, 233, 0.15);
  transform: translateY(-3px);
}

.feature-strip article:nth-child(even) span {
  color: var(--accent-700);
}

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

  .hero,
  .feature-strip,
  .launch-panel {
    grid-template-columns: 1fr;
  }

  .launch-panel span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .launch-panel span:last-child {
    border-bottom: 0;
  }

  .feature-strip article {
    min-height: 260px;
  }
}
