/* ─── HuddleBell landing ─────────────────────────────────────────────
   Built on Labyne tokens. The screenshots are dark macOS captures, so
   the page tilts a touch deeper than vanilla Labyne — hero band fades
   into a charcoal stage, trust band uses canvas-dark, and download
   returns to the soft lavender wash. ──────────────────────────────── */

:root {
  color-scheme: light;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SF Mono", SFMono-Regular, ui-monospace, Menlo, Monaco, Consolas, monospace;
  --canvas: #f7f6fb;
  --surface: #ffffff;
  --surface-soft: #f1eff8;
  --hero-light-from: #f0eef9;
  --ink: #302e40;
  --charcoal: #45435c;
  --slate: #69667a;
  --steel: #8d899d;
  --stone: #b9b4c6;
  --brand-lavender: #8c8aae;
  --brand-lavender-dark: #5e5c7a;
  --brand-lavender-deep: #74719a;
  --brand-lavender-soft: #d9d4ee;
  --hairline: rgba(48, 46, 64, 0.16);
  --hairline-soft: rgba(48, 46, 64, 0.10);
  --shadow-1: 0 1px 2px rgba(48, 46, 64, 0.12), 0 6px 18px rgba(48, 46, 64, 0.08);
  --r-lg: 18px;
  --r-xl: 28px;
  --t-body-md: 400 16px/1.6 var(--font-sans);
  --t-body-sm-medium: 500 14px/1.4 var(--font-sans);
  --t-button-md: 600 14px/1 var(--font-sans);
  --t-caption: 500 13px/1.4 var(--font-sans);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--canvas);
  color: var(--ink);
  font: var(--t-body-md);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }

/* ─── Buttons ────────────────────────────────────────────────────── */
.btn {
  font: var(--t-button-md);
  padding: 11px 22px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.btn--primary { background: var(--ink); color: white; }
.btn--primary:hover { background: var(--charcoal); }
.btn--accent { background: var(--brand-lavender); color: white; }
.btn--accent:hover { background: var(--brand-lavender-deep); }
.btn--secondary { background: transparent; color: var(--ink); border: 1px solid var(--hairline); }
.btn--secondary:hover { background: var(--surface); }
.btn--on-dark { background: white; color: var(--ink); }
.btn--on-dark:hover { background: rgba(255,255,255,0.92); }
.btn--ghost-on-dark { background: transparent; color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.18); }
.btn--ghost-on-dark:hover { color: white; border-color: rgba(255,255,255,0.32); }
.btn--lg { padding: 13px 26px; font-size: 15px; }

/* ─── Top nav ────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 32px;
  height: 60px; padding: 0 28px;
  background: rgba(250, 250, 254, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--hairline-soft);
}
.nav__brand { display: flex; align-items: center; gap: 10px; font: 600 15px/1 var(--font-sans); color: var(--ink); letter-spacing: -0.2px; text-decoration: none; }
.nav__brand img { width: 26px; height: 26px; border-radius: 7px; box-shadow: 0 1px 2px rgba(48,46,64,0.18); }
.nav__spacer { flex: 1; }
.nav__links { display: flex; gap: 26px; }
.nav__link {
  font: var(--t-body-sm-medium);
  color: var(--slate);
  text-decoration: none;
  white-space: nowrap;
}
.nav__link:hover { color: var(--ink); }
.nav__lang {
  display: inline-flex; gap: 2px;
  background: var(--surface);
  border: 1px solid var(--hairline-soft);
  border-radius: 9999px; padding: 3px;
  margin-left: 24px;
}
.nav__lang-btn {
  font: 600 11px/1 var(--font-sans);
  letter-spacing: 0.6px;
  color: var(--steel);
  text-decoration: none;
  padding: 6px 10px; border-radius: 9999px;
  min-width: 28px; text-align: center;
}
.nav__lang-btn.is-active { background: white; color: var(--ink); box-shadow: var(--shadow-1); }
.nav__lang-btn:not(.is-active):hover { color: var(--ink); }

/* ─── Hero ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background:
    radial-gradient(900px 400px at 50% 0%, rgba(140,138,174,0.18), transparent 70%),
    linear-gradient(180deg, var(--hero-light-from) 0%, var(--canvas) 60%, var(--canvas) 100%);
  padding: 72px 28px 0;
  text-align: center;
  overflow: hidden;
}
.hero__inner { max-width: 1180px; margin: 0 auto; }
.hero__icon {
  width: 88px; height: 88px; border-radius: 20px;
  display: block; margin: 0 auto 24px;
  box-shadow: 0 18px 36px -10px rgba(94, 92, 122, 0.55), 0 4px 8px rgba(48, 46, 64, 0.16);
}
.hero__brand {
  font: 600 12px/1 var(--font-sans);
  letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--brand-lavender-dark);
  margin-bottom: 14px;
}
.hero__head {
  font: 600 64px/1.04 var(--font-sans);
  letter-spacing: -2.2px;
  color: var(--ink);
  max-width: 820px; margin: 0 auto;
  text-wrap: balance;
}
.hero__sub {
  font: 400 19px/1.55 var(--font-sans);
  color: var(--slate);
  max-width: 600px; margin: 22px auto 0;
  text-wrap: pretty;
}
.hero__cta { display: inline-flex; gap: 14px; margin-top: 32px; align-items: center; flex-wrap: wrap; justify-content: center; }
.hero__meta {
  display: inline-flex; gap: 14px; align-items: center;
  margin-top: 18px;
  font: var(--t-caption); color: var(--steel);
}
.hero__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--stone); }

.hero__stage {
  margin: 56px auto 0;
  max-width: 1180px;
  position: relative;
}

/* macOS desktop frame holding the hero composition */
.desk {
  position: relative;
  background: linear-gradient(155deg, #45435C 0%, #5E5C7A 45%, #8C8AAE 100%);
  border-radius: 22px 22px 0 0;
  border: 1px solid rgba(255,255,255,0.32);
  border-bottom: none;
  box-shadow:
    0 60px 120px -30px rgba(48, 46, 64, 0.45),
    0 24px 48px -12px rgba(48, 46, 64, 0.28);
  overflow: hidden;
  height: 620px;
}
.desk__menubar {
  display: flex; align-items: center;
  height: 28px;
  background: rgba(45, 44, 58, 0.55);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  padding: 0 14px;
  color: rgba(255,255,255,0.94);
  font: 500 13px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative; z-index: 2;
}
.desk__menubar .apple { font-size: 14px; margin-right: 14px; }
.desk__menubar .app { font-weight: 600; margin-right: 18px; }
.desk__menubar .item { opacity: 0.82; margin-right: 16px; font-weight: 400; }
.desk__menubar .spacer { flex: 1; }
.desk__menubar .tray { display: flex; align-items: center; gap: 14px; opacity: 0.92; font-size: 11px; }
.desk__menubar .tray svg { width: 14px; height: 14px; }
.desk__menubar .hb {
  position: relative;
  display: inline-flex; align-items: center;
  height: 22px; padding: 0 7px; border-radius: 4px;
  background: rgba(255,255,255,0.18);
}
.desk__menubar .hb img { width: 14px; height: 14px; filter: brightness(0) invert(1); opacity: 0.95; }
.desk__menubar .hb .dot {
  position: absolute; right: -3px; top: -3px;
  width: 8px; height: 8px; border-radius: 50%;
  background: #C45B5B;
  box-shadow: 0 0 0 2px rgba(58, 56, 78, 0.95);
}
.desk__menubar .time { font-variant-numeric: tabular-nums; letter-spacing: 0.2px; }

.desk__canvas {
  position: relative;
  height: calc(100% - 28px);
  background:
    radial-gradient(1000px 600px at 16% 8%, rgba(255,255,255,0.16), transparent 60%),
    radial-gradient(800px 500px at 90% 90%, rgba(140,138,174,0.30), transparent 60%);
}

/* the today's-meets window sitting in the desktop */
.desk__win {
  position: absolute;
  left: 50%;
  top: 70px;
  transform: translateX(-50%);
  width: 660px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 40px 80px -16px rgba(20, 18, 32, 0.55),
    0 12px 32px -8px rgba(20, 18, 32, 0.32);
}
.desk__win img { width: 100%; height: auto; display: block; }

/* the popover anchored near the menu bar — a cropped second screenshot */
.desk__pop {
  position: absolute;
  top: 38px;
  right: 96px;
  width: 280px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 28px 60px -12px rgba(20, 18, 32, 0.55),
    0 8px 24px -4px rgba(20, 18, 32, 0.30);
  transform: rotate(-1deg);
  z-index: 3;
}
.desk__pop img { width: 100%; height: auto; display: block; }
.desk__pop::before {
  content: "";
  position: absolute; left: 38px; top: -7px;
  width: 12px; height: 12px;
  background: #2D2C3A;
  transform: rotate(45deg);
}

/* fade the bottom of the desk into the next section */
.hero__fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 80px;
  background: linear-gradient(180deg, rgba(250,250,254,0) 0%, var(--canvas) 100%);
  pointer-events: none;
}

/* ─── Section primitives ─────────────────────────────────────────── */
.section { padding: 112px 28px; max-width: 1180px; margin: 0 auto; }
.section__eyebrow { font: 600 12px/1 var(--font-sans); letter-spacing: 1.6px; text-transform: uppercase; color: var(--brand-lavender-dark); display: block; margin-bottom: 14px; }
.section__head { font: 600 44px/1.1 var(--font-sans); letter-spacing: -1.2px; color: var(--ink); max-width: 720px; margin: 0; text-wrap: balance; }
.section__sub { font: 400 18px/1.55 var(--font-sans); color: var(--slate); max-width: 580px; margin: 18px 0 0; text-wrap: pretty; }
.section__intro { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 56px; }
.section__intro--center { align-items: center; text-align: center; }
.section__intro--center .section__head, .section__intro--center .section__sub { margin-left: auto; margin-right: auto; }

/* ─── Features ───────────────────────────────────────────────────── */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 28px 26px 26px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 200px;
}
.feature__icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--brand-lavender-soft);
  color: var(--brand-lavender-dark);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
}
.feature__h { font: 600 17px/1.35 var(--font-sans); color: var(--ink); margin: 0; letter-spacing: -0.1px; }
.feature__d { font: 400 14px/1.55 var(--font-sans); color: var(--slate); margin: 0; }

/* ─── Screenshot showcase ────────────────────────────────────────── */
.shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.shots--pair {
  grid-template-columns: 1fr 1fr;
  margin-top: 20px;
}
.shot {
  position: relative;
  background: linear-gradient(155deg, #F2F0F6 0%, #E2E0EC 100%);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-xl);
  padding: 32px 32px 0;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.shot--dark {
  background: linear-gradient(155deg, #3A3849 0%, #5E5C7A 100%);
  border-color: rgba(255,255,255,0.08);
}
.shot--dark .shot__label { color: rgba(255,255,255,0.6); }
.shot--dark .shot__title { color: white; }
.shot--dark .shot__d { color: rgba(255,255,255,0.65); }
.shot--big {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(360px, 1fr);
  align-items: center;
  gap: 32px;
  padding: 36px 42px;
}
.shot--tall {
  grid-row: auto;
}
.shot--big > .shot__copy {
  grid-column: 1;
  max-width: 360px;
}
.shot__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.shot--big > .shot__art {
  grid-column: 2;
}
.shot__label { font: 600 11px/1 var(--font-sans); letter-spacing: 1.4px; text-transform: uppercase; color: var(--brand-lavender-dark); margin-bottom: 8px; }
.shot__title { font: 600 22px/1.3 var(--font-sans); color: var(--ink); margin: 0 0 10px; letter-spacing: -0.3px; }
.shot__d { font: 400 14px/1.55 var(--font-sans); color: var(--slate); margin: 0 0 14px; max-width: 360px; }
.shot__art { margin: 8px auto 0; padding-bottom: 0; }
.shot__art img {
  display: block;
  filter: drop-shadow(0 24px 48px rgba(20, 18, 32, 0.32));
}
.shot--popover .shot__art { width: 100%; padding-bottom: 28px; margin-top: 4px; }
.shot--big .shot__art { width: 100%; margin: 0; }
.shot--setup .shot__art { margin-top: 4px; }
.shot--popover .shot__art img { width: min(100%, 420px); margin: 0 auto; }
.shot--big .shot__art img { width: 100%; max-width: 640px; margin: 0 auto; }
.shot--setup .shot__art img { width: 100%; max-width: 620px; }

/* ─── Trust band ─────────────────────────────────────────────────── */
.trust {
  background: linear-gradient(180deg, #2D2C3A 0%, #3E3D4C 100%);
  color: white;
  padding: 112px 28px;
}
.trust__inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 0.85fr 1fr; gap: 80px; align-items: start; }
.trust .section__eyebrow { color: rgba(255,255,255,0.55); }
.trust__head { font: 600 40px/1.12 var(--font-sans); letter-spacing: -1px; color: white; margin: 0; max-width: 420px; }
.trust__sub { font: 400 17px/1.6 var(--font-sans); color: rgba(255,255,255,0.7); margin-top: 20px; max-width: 420px; }
.trust__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--r-lg); overflow: hidden; }
.trust__item { display: grid; grid-template-columns: 28px 1fr; gap: 18px; padding: 22px 24px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.trust__item:last-child { border-bottom: none; }
.trust__item .ico { color: var(--brand-lavender); margin-top: 2px; }
.trust__item h4 { font: 600 16px/1.4 var(--font-sans); color: white; margin: 0 0 4px; letter-spacing: -0.1px; }
.trust__item p { font: 400 14px/1.55 var(--font-sans); color: rgba(255,255,255,0.62); margin: 0; }

/* ─── Download ───────────────────────────────────────────────────── */
.download {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(140,138,174,0.32), transparent 70%),
    linear-gradient(180deg, var(--canvas) 0%, var(--hero-light-from) 100%);
  padding: 112px 28px;
  text-align: center;
}
.download__inner { max-width: 720px; margin: 0 auto; }
.download__icon {
  width: 72px; height: 72px; border-radius: 17px;
  display: block; margin: 0 auto 22px;
  box-shadow: 0 12px 28px -8px rgba(94, 92, 122, 0.5);
}
.download__pill {
  display: inline-flex; align-items: center; gap: 7px;
  font: 600 12px/1 var(--font-sans);
  letter-spacing: 0.4px;
  color: var(--brand-lavender-dark);
  background: var(--brand-lavender-soft);
  padding: 7px 14px; border-radius: 9999px;
  margin-bottom: 20px;
}
.download__pill .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--brand-lavender);
  box-shadow: 0 0 0 0 rgba(140,138,174, 0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(140,138,174, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(140,138,174, 0); }
  100% { box-shadow: 0 0 0 0 rgba(140,138,174, 0); }
}
.download__head { font: 600 48px/1.1 var(--font-sans); letter-spacing: -1.5px; color: var(--ink); margin: 0; text-wrap: balance; }
.download__sub { font: 400 18px/1.55 var(--font-sans); color: var(--slate); margin: 18px auto 32px; max-width: 540px; }
.download__cta { display: inline-flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: center; }
.download__meta {
  display: inline-flex; align-items: center; gap: 10px;
  font: 400 13px/1 var(--font-sans);
  color: var(--steel);
  margin-top: 24px;
}
.download__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--stone); }
.download__beta {
  max-width: 560px;
  margin: 16px auto 0;
  font: 500 14px/1.6 var(--font-sans);
  color: var(--ink-soft);
}
.download__note {
  max-width: 560px;
  margin: 10px auto 0;
  font: 400 13px/1.65 var(--font-sans);
  color: var(--steel);
}

/* ─── Footer ─────────────────────────────────────────────────────── */
.footer { background: var(--canvas); border-top: 1px solid var(--hairline); padding: 48px 28px 32px; }
.footer__inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 12px; font: 600 15px/1.2 var(--font-sans); color: var(--ink); }
.footer__brand img { width: 32px; height: 32px; border-radius: 8px; }
.footer__brand .desc { display: block; font: 400 13px/1.5 var(--font-sans); color: var(--slate); margin-top: 4px; font-weight: 400; }
.footer__links { display: flex; gap: 28px; align-items: center; font: 400 14px/1 var(--font-sans); }
.footer__links a { color: var(--slate); text-decoration: none; }
.footer__links a:hover { color: var(--ink); }
.footer__base {
  max-width: 1180px; margin: 32px auto 0;
  padding-top: 22px; border-top: 1px solid var(--hairline-soft);
  display: flex; justify-content: space-between; gap: 12px;
  font: 400 12px/1.5 var(--font-sans); color: var(--steel); flex-wrap: wrap;
}

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .desk { height: 540px; }
  .desk__win { width: 540px; top: 60px; }
  .desk__pop { width: 240px; right: 56px; }
  .desk__menubar .item { display: none; }
}
@media (max-width: 760px) {
  .nav { padding: 0 18px; gap: 12px; height: 56px; }
  .nav__links { display: none; }
  .nav__lang { margin-left: 0; }
  .hero { padding: 48px 18px 0; }
  .hero__icon { width: 72px; height: 72px; border-radius: 17px; margin-bottom: 18px; }
  .hero__head { font-size: 40px; letter-spacing: -1.4px; }
  .hero__sub { font-size: 16px; margin-top: 16px; }
  .hero__cta { margin-top: 24px; flex-direction: column; gap: 10px; width: 100%; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .hero__stage { margin-top: 40px; }
  .desk { height: 380px; border-radius: 16px 16px 0 0; }
  .desk__menubar .tray { gap: 10px; }
  .desk__menubar .time:last-child { display: none; }
  .desk__win { width: 86%; top: 50px; }
  .desk__pop { display: none; }
  .section { padding: 72px 18px; }
  .section__head { font-size: 30px; letter-spacing: -0.8px; }
  .section__sub { font-size: 16px; }
  .section__intro { margin-bottom: 36px; }
  .features { grid-template-columns: 1fr; gap: 14px; }
  .feature { min-height: 0; padding: 22px 22px 22px; }
  .shots { grid-template-columns: 1fr; }
  .shots--pair { grid-template-columns: 1fr; }
  .shot--big {
    grid-column: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px 24px 0;
  }
  .shot--big > .shot__label,
  .shot--big > .shot__title,
  .shot--big > .shot__d,
  .shot--big > .shot__copy,
  .shot--big > .shot__art {
    grid-column: auto;
    grid-row: auto;
    max-width: none;
  }
  .shot--tall { grid-row: auto; }
  .shot { padding: 24px 24px 0; }
  .shot__title { font-size: 19px; }
  .shot--popover .shot__art img { width: min(100%, 360px); }
  .shot--big .shot__art { width: 100%; align-self: center; margin-top: 4px; }
  .shot--big .shot__art img { width: min(100%, 480px); max-width: 480px; }
  .trust { padding: 72px 18px; }
  .trust__inner { grid-template-columns: 1fr; gap: 32px; }
  .trust__head { font-size: 28px; }
  .download { padding: 72px 18px; }
  .download__head { font-size: 34px; letter-spacing: -1px; }
  .download__cta { flex-direction: column; width: 100%; }
  .download__cta .btn { width: 100%; justify-content: center; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 22px; }
  .footer__links { flex-wrap: wrap; gap: 18px; }
  .footer__base { flex-direction: column; gap: 6px; }
}
