/* Reunion360 — Calendly-inspired landing */

:root {
  --blue: #f57c00;
  --blue-hover: #e06f00;
  --blue-soft: #fff1e6;
  --ink: #1b1b1b;
  --ink-muted: #5f5f5f;
  --border: #e8e0d9;
  --surface: #ffffff;
  --page: #fbf8f5;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(27, 27, 27, 0.08);
  --shadow-lg: 0 24px 64px rgba(27, 27, 27, 0.12);
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue) 0%, #ffb347 100%);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav-desktop a:not(.btn) {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.15s;
}

.nav-desktop a:not(.btn):hover {
  color: var(--ink);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.125rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  font-family: inherit;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--blue-soft);
  color: var(--blue);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 1px 2px rgba(245, 124, 0, 0.3);
}

.btn-primary:hover {
  background: var(--blue-hover);
}

.btn-lg {
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  border-radius: 12px;
}

.btn-outline {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--ink-muted);
  background: var(--page);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
}

.menu-toggle:hover {
  background: var(--blue-soft);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
  gap: 0.25rem;
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile a {
  padding: 0.75rem 0;
  font-weight: 500;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--border);
}

.nav-mobile a:hover {
  color: var(--blue);
}

.nav-mobile .btn {
  margin-top: 0.75rem;
  width: 100%;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .nav-mobile {
    display: none !important;
  }
}

/* ——— Hero ——— */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    padding: 4.5rem 1.5rem 5rem;
    gap: 4rem;
  }
}

.hero-badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}

.hero-lead {
  margin: 0 0 2rem;
  font-size: 1.125rem;
  color: var(--ink-muted);
  max-width: 32rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-note {
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.hero-note strong {
  color: var(--ink);
}

/* Hero visual — scheduling card mock */
.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  max-width: 420px;
  margin: 0 auto;
}

.hero-card-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-card-dots {
  display: flex;
  gap: 6px;
}

.hero-card-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.hero-card-dots span:nth-child(1) {
  background: #ff5f57;
}

.hero-card-dots span:nth-child(2) {
  background: #febc2e;
}

.hero-card-dots span:nth-child(3) {
  background: #28c840;
}

.hero-card-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.hero-card-body {
  padding: 1.5rem 1.25rem 1.75rem;
}

.hero-card-body h3 {
  margin: 0 0 0.25rem;
  font-size: 1.125rem;
}

.hero-card-body p {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.slot {
  padding: 0.65rem 0.5rem;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--ink-muted);
  background: var(--page);
}

.slot.is-active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.hero-float {
  position: absolute;
  width: 200px;
  padding: 1rem;
  background: var(--surface);
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  font-size: 0.8125rem;
  display: none;
}

@media (min-width: 900px) {
  .hero-float {
    display: block;
  }

  .hero-float--1 {
    top: -12px;
    right: -24px;
  }

  .hero-float--2 {
    bottom: 12px;
    left: -28px;
  }
}

.hero-float strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.hero-float span {
  color: var(--ink-muted);
}

/* ——— Logos ——— */
.logos {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 2rem 1.5rem;
}

.logos-inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.logos p {
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.logos-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem 2.5rem;
}

.logo-pill {
  font-weight: 700;
  font-size: 1.125rem;
  color: #94a3b8;
  letter-spacing: -0.02em;
}

/* ——— Sections ——— */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-head h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-head p {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--ink-muted);
}

.feature-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.feature-card:hover {
  box-shadow: var(--shadow);
  border-color: #cbd5e1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}

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

/* ——— Pricing ——— */
.pricing-grid {
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.pricing-card > p:not(.pricing-price) {
  margin-bottom: 0;
  flex-grow: 1;
}

.pricing-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.pricing-price {
  margin: 0 0 1rem !important;
}

.pricing-price .price {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.pricing-price .period {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-muted);
  margin-top: 0.25rem;
}

.pricing-badge {
  position: absolute;
  top: -10px;
  right: 1.25rem;
  background: var(--blue);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.pricing-card--featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}

.pricing-card .btn {
  width: 100%;
  margin-top: 1.25rem;
}

@media (min-width: 700px) {
  .pricing-card--featured {
    transform: scale(1.02);
  }
}

/* ——— Steps ——— */
.steps {
  background: linear-gradient(180deg, var(--page) 0%, var(--blue-soft) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.steps-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.step {
  text-align: center;
}

.step-num {
  width: 40px;
  height: 40px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  display: grid;
  place-items: center;
}

.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
}

.step p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

/* ——— CTA band ——— */
.cta-band {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.cta-box {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 80% at 80% 20%,
    rgba(245, 124, 0, 0.35),
    transparent 55%
  );
  pointer-events: none;
}

.cta-box h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  position: relative;
}

.cta-box p {
  margin: 0 0 1.5rem;
  opacity: 0.88;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-box .btn-primary {
  position: relative;
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

.cta-box .btn-primary:hover {
  background: var(--blue-soft);
  color: var(--blue);
}

/* ——— Footer ——— */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }
}

.footer-brand p {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--ink-muted);
  max-width: 240px;
}

.footer-col h4 {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.625rem;
}

.footer-col a {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--blue);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.footer-bottom a {
  color: var(--ink-muted);
}

.footer-bottom a:hover {
  color: var(--blue);
}

/* ——— Secondary pages ——— */
.page-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.page-hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
}

.page-hero p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 60ch;
}

.page-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.page-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.page-links a {
  color: var(--blue);
  font-weight: 600;
}

.page-links a:hover {
  color: var(--blue-hover);
}
