:root {
  --bg: #0f1220;
  --bg-soft: #171b2f;
  --panel: #1d2340;
  --panel-alt: #12172b;
  --text: #edf1ff;
  --muted: #b5bfdc;
  --accent: #8ac6ff;
  --accent-strong: #4da3ff;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  --radius: 18px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, var(--bg) 0%, #13182c 100%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--accent);
}

img,
iframe {
  max-width: 100%;
}

code {
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 0.15rem 0.4rem;
}

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

.narrow {
  width: min(calc(100% - 2rem), 860px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 12, 22, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-wrap,
.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

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

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.hero,
.section {
  padding: 4.5rem 0;
}

.hero-grid,
.grid {
  display: grid;
  gap: 1.5rem;
}

.hero-grid {
  grid-template-columns: 1.35fr 0.9fr;
  align-items: center;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4.3rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 60ch;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-heading p {
  color: var(--muted);
  margin: 0;
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.highlight-card {
  background: linear-gradient(180deg, rgba(77,163,255,0.18), rgba(255,255,255,0.04));
}

.button-row {
  display: flex;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.button-row.wrap {
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  background: var(--accent-strong);
  color: white;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
}

.button:hover {
  transform: translateY(-1px);
}

.button-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.text-link {
  display: inline-block;
  margin-top: 0.8rem;
  text-decoration: none;
  font-weight: 700;
}

.alt-section {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.check-list,
.bullet-list,
.link-list,
.steps {
  margin: 0;
  padding-left: 1.2rem;
}

.check-list li,
.bullet-list li,
.link-list li,
.steps li {
  margin-bottom: 0.55rem;
}

.stack {
  display: flex;
  flex-direction: column;
}

.gap-lg {
  gap: 1rem;
}

.top-gap {
  margin-top: 1.5rem;
}

.embed-frame {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  min-height: 520px;
  background: rgba(255,255,255,0.03);
}

.embed-frame iframe {
  width: 100%;
  min-height: 520px;
  border: 0;
}

@media (max-width: 900px) {
  .hero-grid,
  .two-col,
  .three-col {
    grid-template-columns: 1fr;
  }

  .header-wrap,
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero,
  .section {
    padding: 3.2rem 0;
  }

  .nav {
    gap: 0.8rem;
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }
}
/* Homepage visual upgrade */

.hero-photo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 6rem 0 5rem;
  background: url("/hero-bg.jpg") center center / cover no-repeat;
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 24, 0.90) 0%, rgba(7, 11, 24, 0.70) 45%, rgba(7, 11, 24, 0.82) 100%),
    linear-gradient(180deg, rgba(9, 13, 27, 0.30) 0%, rgba(9, 13, 27, 0.85) 100%);
  z-index: 0;
}

.hero-photo::after {
  content: "";
  position: absolute;
  right: -10rem;
  bottom: -12rem;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 163, 255, 0.22) 0%, rgba(77, 163, 255, 0) 70%);
  filter: blur(30px);
  z-index: 0;
}

.hero-grid-home {
  position: relative;
  z-index: 1;
  grid-template-columns: 1.2fr 0.85fr;
  align-items: stretch;
}

.hero-copy {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.hero-copy h1 {
  max-width: 9ch;
}

.hero-copy .lead {
  max-width: 58ch;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
}

.glass-panel {
  background: rgba(11, 16, 32, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.mini-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 0.75rem;
}

.mini-link {
  display: block;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.mini-link:hover {
  transform: translateY(-2px);
  border-color: rgba(138, 198, 255, 0.36);
  background: rgba(255, 255, 255, 0.07);
}

.mini-link strong {
  display: block;
  color: var(--text);
  font-size: 0.98rem;
}

.mini-link span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.35;
}

.card {
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(138, 198, 255, 0.28);
}

.site-header {
  background: rgba(7, 10, 20, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-wrap,
.footer-wrap {
  padding: 1rem 0;
}

.section-heading {
  max-width: 720px;
}

.three-col .card,
.two-col .card {
  height: 100%;
}

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

  .mini-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .hero-photo {
    padding: 4.25rem 0 3.25rem;
  }

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

  .hero-copy {
    padding: 1.4rem;
  }
}
.calendar-card {
  padding: 1rem;
}

.calendar-embed {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
}

.calendar-embed iframe {
  display: block;
  width: 100%;
  min-height: 700px;
  border: 0;
}

@media (max-width: 768px) {
  .calendar-embed iframe {
    min-height: 600px;
  }
}
