/* Evolven · AWS Summit NYC 2026
   Match evolven.com — dark warm gray bg, almost-black cards, Inter, minimal. */

:root {
  /* Pulled directly from evolven.com computed styles */
  --bg: #212121;              /* page background (zinc 33,33,33) */
  --surface: #09090B;         /* card background (zinc-950) */
  --surface-2: #18181B;       /* secondary surface (zinc-900) */
  --border: #27272A;          /* card/input border (zinc-800) */
  --border-soft: #1F1F22;     /* faint dividers */
  --text: #FAFAFA;            /* primary text */
  --text-muted: #A1A1AA;      /* muted (zinc-400) */
  --text-faint: #71717A;      /* very muted (zinc-500) */
  --accent: #FFFFFF;          /* primary CTA — white-on-dark, like the live site */
  --accent-text: #09090B;     /* text on accent button */

  --max-width: 560px;
  --radius: 8px;
  --radius-sm: 6px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  padding-bottom: 96px;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

[hidden] { display: none !important; }

/* ---------- Site header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: var(--bg);
}
.site-header .wordmark {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.18em;
  color: var(--text);
}
.site-header .header-meta {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Hero ---------- */
.hero {
  padding: 56px 24px 48px;
  text-align: center;
  background: var(--bg);
}
.event-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 28px;
}
.hero-headline {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 16px 0;
  color: var(--text);
}
.hero-sub {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 auto;
  max-width: 34ch;
}

/* ---------- Stats strip (subtle, dark-themed) ---------- */
.value-strip {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 0 24px 56px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.value-item {
  flex: 1;
  text-align: center;
  padding: 18px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.value-stat {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}
.value-label {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  line-height: 1.35;
}

/* ---------- Intro ---------- */
.intro {
  padding: 0 24px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}
.intro h2 {
  margin: 0 0 12px 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.intro p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
}
.intro strong { color: var(--text); font-weight: 600; }

/* ---------- Cards ---------- */
.cards {
  padding: 16px 16px 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: border-color 180ms ease, background 180ms ease;
}
.card:hover {
  border-color: #3F3F46;
}

.card-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.tag-featured {
  background: var(--text);
  color: var(--accent-text);
  border-color: var(--text);
  font-weight: 600;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 8px 0;
  color: var(--text);
}

.card-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 14px 0;
}

.card-meta {
  font-size: 11.5px;
  color: var(--text-faint);
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.card-actions {
  display: flex;
  gap: 8px;
}

/* ---------- Buttons ---------- */
.btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, transform 100ms ease;
  -webkit-tap-highlight-color: transparent;
  min-height: 42px;
}
.btn:active { transform: scale(0.985); }
.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
  font-weight: 600;
}
.btn-primary:hover { background: #E4E4E7; border-color: #E4E4E7; }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover { background: var(--surface-2); border-color: #3F3F46; }
.btn-full { flex: 1 0 100%; width: 100%; }

/* ---------- Meeting CTA ---------- */
.meeting-cta {
  margin: 24px 16px 16px;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
}
.meeting-cta h2 {
  margin: 0 0 10px 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}
.meeting-cta p {
  margin: 0 0 22px 0;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
.meeting-cta .btn {
  display: inline-flex;
  flex: 0;
  min-width: 200px;
}

/* ---------- Footer ---------- */
.footer {
  padding: 40px 24px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}
.footer-wordmark {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.20em;
  color: var(--text);
  margin-bottom: 6px;
}
.footer-tagline {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 20px;
}
.footer-contact {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.footer-contact a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 140ms ease;
}
.footer-contact a:hover { color: var(--text); }
.footer-sep { color: var(--text-faint); }
.footer-copy {
  font-size: 11.5px;
  color: var(--text-faint);
}

/* ---------- Sticky bundle bar ---------- */
.bundle-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(33,33,33,0) 0%, var(--bg) 35%);
  z-index: 50;
  pointer-events: none;
}
.bundle-btn {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  background: var(--accent);
  color: var(--accent-text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.005em;
  border: 1px solid var(--accent);
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.30), 0 12px 32px rgba(0,0,0,0.20);
  transition: background 140ms ease, transform 100ms ease;
  -webkit-tap-highlight-color: transparent;
  min-height: 50px;
}
.bundle-btn:hover { background: #E4E4E7; border-color: #E4E4E7; }
.bundle-btn:active { transform: scale(0.98); }
.bundle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(9,9,11,0.10);
  border-radius: 50%;
  font-size: 11px;
  line-height: 1;
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 100;
  align-items: flex-end;
  justify-content: center;
}
.modal[aria-hidden="false"] {
  display: flex;
  animation: modalFadeIn 200ms ease;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
}
.modal-card {
  position: relative;
  width: 100%;
  max-width: var(--max-width);
  background: var(--surface);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 16px 16px 0 0;
  padding: 28px 24px calc(28px + env(safe-area-inset-bottom));
  animation: modalSlideUp 280ms cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 600px) {
  .modal { align-items: center; }
  .modal-card {
    border-radius: 16px;
    border-bottom: 1px solid var(--border);
    margin: 24px;
  }
}
@keyframes modalSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: 0;
  width: 36px;
  height: 36px;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.modal-close:hover { background: var(--surface-2); color: var(--text); }

.modal-title {
  margin: 0 0 6px 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}
.modal-sub {
  margin: 0 0 20px 0;
  font-size: 14px;
  color: var(--text-muted);
}

.email-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.email-input {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 16px; /* prevent iOS zoom */
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  background: var(--bg);
  transition: border-color 140ms ease;
  -webkit-appearance: none;
  appearance: none;
}
.email-input::placeholder { color: var(--text-faint); }
.email-input:focus {
  outline: none;
  border-color: #52525B;
}
.email-error {
  font-size: 13px;
  color: #F87171;
  min-height: 18px;
  margin-top: -4px;
}

.modal-success {
  text-align: center;
  padding: 12px 0 4px;
}
.success-check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--text);
  color: var(--accent-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 700;
  margin: 0 auto 16px;
}
.modal-success h3 {
  margin: 0 0 6px 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}
.modal-success p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted);
}

/* ---------- Larger screens ---------- */
@media (min-width: 720px) {
  .hero { padding: 88px 32px 72px; }
  .hero-headline { font-size: 56px; }
  .hero-sub { font-size: 18px; }
  .event-tag { font-size: 12px; }
  .intro h2 { font-size: 36px; }
  .value-strip { padding: 0 32px 64px; }
  .value-stat { font-size: 32px; }
  .cards { padding: 16px 32px 56px; gap: 16px; }
  .card { padding: 32px; }
  .card-title { font-size: 20px; }
  .meeting-cta { margin: 32px 32px 16px; padding: 40px 32px; }
  .meeting-cta h2 { font-size: 28px; }
}

/* ---------- Schedule page ---------- */
.hero-tight { padding-top: 32px; padding-bottom: 32px; }

.back-link {
  text-decoration: none;
  color: var(--text-muted);
  transition: color 140ms ease;
}
.back-link:hover { color: var(--text); }

.schedule {
  padding: 8px 16px 96px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.schedule-section {
  margin-bottom: 28px;
}
.schedule-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.schedule-label-aux {
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 500;
  color: var(--text-faint);
  margin-left: 4px;
}

/* Day strip — horizontal scrollable list of weekday chips */
.day-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 0 8px;
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.day-strip::-webkit-scrollbar { display: none; }

.day-chip {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  cursor: pointer;
  scroll-snap-align: start;
  transition: border-color 140ms ease, background 140ms ease, transform 100ms ease;
  -webkit-tap-highlight-color: transparent;
}
.day-chip:hover { border-color: #3F3F46; }
.day-chip:active { transform: scale(0.97); }
.day-chip-weekday {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.day-chip-date {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.005em;
}
.day-chip-selected {
  background: var(--text);
  border-color: var(--text);
}
.day-chip-selected .day-chip-weekday { color: rgba(9,9,11,0.65); }
.day-chip-selected .day-chip-date { color: var(--accent-text); }

/* Time grid */
.time-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
@media (min-width: 480px) {
  .time-grid { grid-template-columns: repeat(3, 1fr); }
}

.time-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  min-height: 44px;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease, transform 100ms ease;
  -webkit-tap-highlight-color: transparent;
}
.time-slot:hover { border-color: #52525B; }
.time-slot:active { transform: scale(0.985); }
.time-slot-selected {
  background: var(--text);
  border-color: var(--text);
  color: var(--accent-text);
  font-weight: 600;
}
.time-slot-taken {
  color: var(--text-faint);
  background: transparent;
  text-decoration: line-through;
  cursor: not-allowed;
}
.time-slot-taken:hover { border-color: var(--border); }

.empty-state {
  text-align: center;
  font-size: 14px;
  color: var(--text-faint);
  padding: 24px 0;
  margin: 0;
}

/* Booking form */
.booking-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.booking-summary {
  margin: 0 0 20px 0;
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}
.booking-summary strong { font-weight: 600; }
.booking-local {
  color: var(--text-faint);
  font-size: 13px;
  white-space: nowrap;
  display: inline-block;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label-text {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.form-field input {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  background: var(--bg);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 140ms ease;
}
.form-field input::placeholder { color: var(--text-faint); }
.form-field input:focus {
  outline: none;
  border-color: #52525B;
}

.form-error {
  font-size: 13px;
  color: #F87171;
  min-height: 18px;
  margin: 6px 0 12px;
}

.btn-confirm { font-size: 15px; padding: 14px 20px; }

/* Confirmation */
.confirmation {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}
.confirmation .success-check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--text);
  color: var(--accent-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto 18px;
}
.confirmation h2 {
  margin: 0 0 8px 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.confirmation-detail {
  margin: 0 0 4px 0;
  font-size: 15px;
  color: var(--text);
}
.confirmation-detail strong { font-weight: 600; }
.confirmation-note {
  margin: 0 0 22px 0;
  font-size: 13.5px;
  color: var(--text-muted);
}
.confirmation-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.confirmation-actions .btn { display: inline-flex; }

@media (min-width: 720px) {
  .day-chip { min-width: 76px; padding: 12px 18px; }
  .day-chip-date { font-size: 15px; }
  .time-grid { grid-template-columns: repeat(4, 1fr); }
  .time-slot { font-size: 15px; padding: 14px 8px; }
  .form-row { flex-direction: row; gap: 12px; }
  .form-field { flex: 1; }
  .confirmation-actions { flex-direction: row; justify-content: center; }
  .confirmation-actions .btn { flex: 0 0 auto; min-width: 180px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
