:root {
  --bg: #000;
  --panel: #020a1b;
  --line: rgba(110, 138, 187, 0.2);
  --text: #e9eefc;
  --muted: #8693b3;
  --accent: #ff4d5a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
}


.site-topbar {
  max-width: 1400px;
  margin: 0 auto;
  padding: 8px 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand-wordmark {
  font-family: "Press Start 2P", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #f4f7ff;
}

.top-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 5px;
  background: #ff2d3d;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid #ff2d3d;
  cursor: pointer;
  font: inherit;
}

.top-login-btn:disabled {
  cursor: wait;
  opacity: 0.92;
}

.top-login-btn.loading {
  filter: saturate(0.94);
}

.top-login-btn:hover {
  filter: brightness(1.06);
}

.page-shell {
  max-width: 1400px;
  margin: 0 auto;
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
}

.hero-panel,
.setup-panel,
.tweet-card,
.use-card {
  background: rgba(4, 14, 34, 0.8);
  border: 1px solid rgba(67, 94, 145, 0.25);
  border-radius: 18px;
}

.hero-panel,
.setup-panel {
  padding: 24px;
  min-height: 100%;
}

.hero-panel {
  background: #000;
  border: none;
}

.logo { height: 40px; margin-bottom: 16px; }

h1 {
  margin: 0;
  font-size: clamp(1.6rem, 3.6vw, 3.3rem);
  line-height: 1.12;
  font-weight: 600;
  max-width: 760px;
}

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

.subline {
  max-width: 700px;
  font-size: clamp(0.95rem, 1.25vw, 1.4rem);
  line-height: 1.5;
  color: var(--muted);
  margin: 20px 0 0;
}

.comparison-wrap {
  margin-top: 26px;
  width: 100%;
  border: 1px solid rgba(67, 94, 145, 0.25);
  border-radius: 18px;
  overflow-x: auto;
  background: rgba(4, 14, 34, 0.65);
}

.comparison-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(67, 94, 145, 0.25);
}

.comparison-table thead th {
  font-size: 1.2rem;
  color: #a8b9df;
  font-weight: 600;
}

.comparison-table thead th:last-child {
  color: var(--accent);
}

.comparison-table tbody th {
  color: #b8c6e5;
  width: 33%;
  font-weight: 500;
}

.comparison-table tbody td {
  color: #93a7cc;
}

.comparison-table tr:last-child th,
.comparison-table tr:last-child td {
  border-bottom: none;
}

.setup-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.setup-panel h2 {
  margin: 0 0 10px;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 600;
}

.step-block { border-top: 1px solid rgba(110, 138, 187, 0.17); padding-top: 24px; margin-top: 24px; }
.step-block:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }

.setup-panel .step-block:last-of-type {
  flex: 1;
  padding-bottom: 28px;
}

.step-block h3 { margin: 0 0 10px; font-size: clamp(0.88rem, 1.05vw, 1rem); font-weight: 500; }
.muted { margin: 8px 0 12px; color: var(--muted); font-size: 0.9rem; }

.choice-grid {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

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

.choice-card {
  position: relative;
  padding: 16px 14px;
  min-height: 72px;
  border-radius: 14px;
  border: 1px solid rgba(102, 129, 180, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: #020b21;
  cursor: pointer;
  user-select: none;
}

.choice-card input { display: none; }
.choice-card strong { font-size: 0.92rem; font-weight: 400; line-height: 1.25; padding-right: 26px; }
.choice-card span { color: var(--muted); font-size: 0.82rem; }
.choice-card em {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #fff;
  font-style: normal;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255, 77, 90, 0.92);
  font-size: 0.78rem;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.choice-card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(255, 77, 90, 0.4) inset;
}

.choice-card.selected em {
  display: inline-flex;
}

.choice-card.disabled {
  opacity: 0.55;
  pointer-events: none;
}

.launch-link {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #fff;
  color: #0d1325;
  padding: 12px 16px;
}

.launch-link {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
}

.launch-link:disabled {
  opacity: 0.9;
  cursor: wait;
}

.launch-link.loading {
  background: #f2f4ff;
}

.button-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(13, 19, 37, 0.25);
  border-top-color: #0d1325;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.google-popup-anchor {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.hidden { display: none !important; }
.warning { color: #ff9ba3; }

body.modal-open { overflow: hidden; }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 16, 0.76);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}

.modal-card {
  width: min(560px, 100%);
  background: linear-gradient(180deg, rgba(7, 19, 46, 0.97), rgba(2, 10, 27, 0.98));
  border: 1px solid rgba(108, 145, 204, 0.42);
  border-radius: 20px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.56);
  padding: 28px;
  position: relative;
}

.modal-card h3 {
  margin: 0;
  font-size: 1.7rem;
}

.modal-card p {
  margin: 10px 0 0;
  color: #a5b4d5;
  line-height: 1.5;
}

.modal-actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.modal-btn {
  border: 1px solid rgba(126, 151, 198, 0.3);
  border-radius: 12px;
  padding: 11px 14px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.92rem;
  cursor: pointer;
}

.modal-btn-primary {
  background: #ffffff;
  color: #111933;
}

.modal-btn-secondary {
  background: #091833;
  color: #d7e5ff;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #d6e5ff;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  font-size: 1.2rem;
  cursor: pointer;
}

.v1-details {
  margin-top: 16px;
  border-top: 1px solid rgba(88, 116, 164, 0.35);
  padding-top: 16px;
}

.waitlist-message {
  margin-top: 14px;
  color: #c7f8d0 !important;
}

.testimonials-wrap,
.use-cases-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 26px 34px;
}

.testimonials-wrap h2,
.use-cases-wrap h2 {
  text-align: center;
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  font-weight: 600;
  margin: 28px 0 10px;
}

.testimonials-wrap p,
.use-cases-wrap p {
  text-align: center;
  color: var(--muted);
  margin: 0 0 28px;
  font-size: 1.05rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tweet-card {
  text-decoration: none;
  min-height: 210px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tweet-card p {
  text-align: left;
  margin: 0;
  font-size: 1.01rem;
  line-height: 1.5;
  color: #aebad7;
}

.tweet-card p span {
  color: #dce6ff;
  font-weight: 500;
}

.tweet-author {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tweet-author img {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
}

.tweet-author strong,
.tweet-author small {
  display: block;
}

.tweet-author strong {
  color: #dce6ff;
  font-size: 1rem;
  font-weight: 500;
}

.tweet-author small {
  color: var(--muted);
  font-size: 0.88rem;
}

.use-cases-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  position: relative;
}

.scroll-col {
  height: 480px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
}

.inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: scrollUp 13s linear infinite;
}

.scroll-col.down .inner { animation-name: scrollDown; }
.scroll-col.slow .inner { animation-duration: 17s; }

.use-card { padding: 22px; min-height: 144px; }
.use-card h3 { margin: 0 0 10px; font-size: 1.04rem; }
.use-card p { margin: 0; text-align: left; color: var(--muted); line-height: 1.45; }
.time-stepper-wrap { display: grid; grid-template-columns: 1fr auto; grid-template-rows: 1fr 1fr; gap: 4px; align-items: stretch; }
.time-stepper-wrap input { grid-row: 1 / span 2; min-width: 0; }
.time-stepper-btn { border: 1px solid rgba(111, 140, 194, 0.34); background: #08162f; color: #d7e7ff; border-radius: 8px; padding: 0 6px; cursor: pointer; line-height: 1; font-size: 0.7rem; min-height: 18px; }

.site-footer {
  margin-top: 18px;
  border-top: 1px solid rgba(86, 111, 158, 0.25);
  background: #020814;
  padding: 24px 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.site-footer a {
  color: #9fb0d5;
  text-decoration: none;
  font-size: 0.94rem;
}

.footer-link-button {
  background: none;
  border: 0;
  padding: 0;
  color: #9fb0d5;
  text-decoration: none;
  font-size: 0.94rem;
  font-family: inherit;
  cursor: pointer;
}

.footer-link-button:hover,
.site-footer a:hover {
  color: #dce6ff;
}


.footer-autopilot-note {
  margin: 4px 0 0;
  color: #9fb0d5;
  font-size: 0.94rem;
  flex-basis: 100%;
  text-align: center;
}

.footer-autopilot-note a {
  color: #9fb0d5;
}

.about-modal-card {
  max-width: 560px;
}

@keyframes scrollUp {
  from { transform: translateY(0); }
  to { transform: translateY(-45%); }
}

@keyframes scrollDown {
  from { transform: translateY(-45%); }
  to { transform: translateY(0); }
}

@media (max-width: 1120px) {
  .page-shell { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .use-cases-columns { grid-template-columns: 1fr; }
  .scroll-col { height: 300px; }
  .setup-panel h2 { font-size: 1.1rem; }
}

@media (max-width: 760px) {
  .site-topbar,
  .page-shell,
  .testimonials-wrap,
  .use-cases-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-panel,
  .setup-panel,
  .tweet-card,
  .use-card {
    border-radius: 14px;
  }

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

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

  .comparison-table {
    min-width: 0;
    table-layout: fixed;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px 8px;
    font-size: 0.76rem;
    word-break: break-word;
  }

  .choice-card {
    min-height: 64px;
    padding: 12px 10px;
  }

  .choice-card strong {
    font-size: 0.82rem;
    padding-right: 22px;
  }
}

.try-calendar-card{max-width:980px;margin:20px auto;padding:24px;border-radius:20px;border:1px solid rgba(117,140,184,.25);background:rgba(4,14,34,.72);box-shadow:0 12px 36px rgba(0,0,0,.22);display:grid;gap:12px}
.home-calendar-layout{display:grid;grid-template-columns:1.05fr minmax(0,1fr);gap:22px;align-items:start}
.try-calendar-card textarea{width:100%;background:#020b21;color:#edf2ff;border:1px solid rgba(111,140,194,.34);border-radius:12px;padding:11px 12px;font:inherit}
.try-calendar-card textarea:focus{outline:none;border-color:#ff4d5a;box-shadow:0 0 0 2px rgba(255,77,90,.2)}
.prompt-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:12px}
.calendar-try-copy{margin:10px 0 0}
.prompt-examples{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px}
.example-chip{background:#08162f;color:#d9e6ff;border:1px solid rgba(124,154,211,.35);border-radius:999px;padding:7px 11px;font-size:.82rem;cursor:pointer}
.example-chip:hover{border-color:#ff4d5a;color:#fff}
.availability-grid{display:grid;gap:8px}
.home-timeslot-preview-wrap{position:relative;min-height:292px}
.home-timeslot-preview{margin-top:4px}
.slot-row{display:grid;grid-template-columns:minmax(120px,1.1fr) minmax(132px,1fr) minmax(132px,1fr) auto;gap:8px;align-items:center}
.slot-row select,.slot-row input{width:100%;background:#020b21;color:#edf2ff;border:1px solid rgba(111,140,194,.34);border-radius:12px;padding:10px 11px;font:inherit}

.time-stepper-wrap{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:1fr 1fr;gap:4px;align-items:stretch;min-width:132px}
.time-stepper-wrap input{grid-row:1 / span 2;min-width:0;font-variant-numeric:tabular-nums}
.timeslot-loader-overlay{position:absolute;inset:0;display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;background:rgba(2,11,33,.58);backdrop-filter:blur(1.5px);border-radius:14px;z-index:1}
.timeslot-loader-spinner{width:24px;height:24px;border-radius:50%;border:2px solid rgba(237,242,255,.28);border-top-color:#edf2ff;animation:spin .8s linear infinite}
.remove-btn{background:#2a1320;border:1px solid rgba(255,119,141,.45);color:#ffc1ce;border-radius:10px;padding:8px 11px;cursor:pointer}
.home-calendar-cta{display:grid;gap:10px;padding-top:8px;border-top:1px solid rgba(110,138,187,.2)}
.home-calendar-cta-copy{margin:0;color:#d7e0f5;font-size:1rem;line-height:1.45}
.home-calendar-cta-label{margin:0;color:#edf2ff;font-size:1.02rem;font-weight:600;line-height:1.35}
.demo-chat-link{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;max-width:320px;padding:11px 14px;border-radius:12px;border:1px solid rgba(8,19,44,.25);background:#fff;color:#101a35;font-weight:700;text-decoration:none;box-shadow:0 8px 24px rgba(0,0,0,.22);transition:transform .15s ease,box-shadow .15s ease,background .15s ease}
.demo-chat-link:hover{background:#f4f7ff;transform:translateY(-1px);box-shadow:0 12px 30px rgba(0,0,0,.28)}
.demo-chat-link:focus-visible{outline:2px solid #ff5c6a;outline-offset:2px}
.demo-chat-link-arrow{font-size:1.05rem;line-height:1}
.signup-cta-btn{background:#ff2d3d;border-color:#ff2d3d;color:#fff;font-weight:700}
.signup-cta-btn:hover{filter:brightness(1.03)}

@media (max-width: 980px){
  .home-calendar-layout{grid-template-columns:1fr}
}

@media (min-width: 981px){
  .try-calendar-card textarea{min-height:260px}
}
