:root {
  --page: #f3f5ff;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.62);
  --ink: #050505;
  --muted: #333333;
  --primary: #574dfd;
  --primary-soft: #ccd7ff;
  --link: #1875fb;
  --danger: #f20d18;
  --max-width: 980px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--page);
}

body {
  margin: 0;
  color: var(--ink);
  background: rgba(204, 215, 255, 0.22);
  font-family: Figtree, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.landing-page {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(56px, 7vw, 92px) 28px clamp(56px, 7vw, 84px);
}

.hand-mark {
  position: relative;
  display: inline-block;
  color: var(--primary);
}

.hand-mark img {
  position: absolute;
  inset: 7.03% 16.41% 7.03% 19.52%;
  width: 64.07%;
  height: 85.94%;
  object-fit: fill;
}

.watermark {
  position: absolute;
  right: clamp(-120px, -5.3vw, -56px);
  bottom: clamp(-56px, -2.4vw, -24px);
  z-index: -1;
  width: clamp(360px, 37vw, 560px);
  aspect-ratio: 1;
  opacity: 0.055;
  pointer-events: none;
}

.hero,
.features,
.cta {
  width: min(100%, var(--max-width));
  margin-inline: auto;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--primary);
  text-decoration: none;
}

.brand__mark {
  width: 78px;
  height: 78px;
  flex: 0 0 auto;
}

.brand__text {
  display: block;
  color: var(--primary);
  font-size: 40px;
  font-weight: 900;
  line-height: 0.9;
  text-align: left;
}

.workspace-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.slack-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  object-fit: contain;
}

h1 {
  max-width: 980px;
  margin: 32px 0 0;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.06;
  text-wrap: balance;
}

.hero-line {
  display: block;
  white-space: nowrap;
}

.partner-logos {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 20px 36px;
  width: min(100%, 940px);
  margin: 60px 0 0;
  padding: 0;
  list-style: none;
}

.partner-logo {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.partner-link {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.partner-link:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.figma-logo {
  position: relative;
  flex: 0 0 auto;
  display: block;
}

.figma-logo img {
  display: block;
}

.figma-logo--invoice-full {
  width: 136px;
  height: auto;
  object-fit: contain;
}

.figma-logo--linepilot-full {
  width: 108px;
  height: auto;
  object-fit: contain;
}

.figma-logo--portant {
  width: 118px;
  height: 29px;
}

.portant-symbol-img {
  position: absolute;
  left: 0.386px;
  top: 0.654px;
  width: 23.89px;
  height: 24.77px;
}

.portant-wordmark {
  position: absolute;
  left: 29.41px;
  top: 1.77px;
  width: 77.32px;
  height: 19.04px;
}

.figma-logo--koalify {
  width: 118px;
  height: 30px;
  object-fit: contain;
}

.figma-logo--hubdo {
  width: 116px;
  height: auto;
  object-fit: contain;
}

.figma-logo--hublead {
  width: 136px;
  height: auto;
  object-fit: contain;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px;
  margin-top: 88px;
}

.feature-card {
  min-width: 0;
  animation: feature-rise 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
  transform-origin: 50% 70%;
  transition: transform 220ms ease, filter 220ms ease;
}

.feature-card:nth-child(2) {
  animation-delay: 90ms;
}

.feature-card:nth-child(3) {
  animation-delay: 180ms;
}

.feature-card:nth-child(4) {
  animation-delay: 270ms;
}

.feature-card:hover {
  transform: translateY(-6px);
  filter: saturate(1.04);
}

.feature-card:hover .feature-visual {
  transform: translateY(-3px);
}

.feature-visual {
  height: 100px;
  transition: transform 220ms ease;
}

.channel-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.channel-stack span {
  display: flex;
  align-items: center;
  width: 198px;
  max-width: 100%;
  min-height: 28px;
  padding: 0 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 1.15;
  transition: transform 180ms ease, background-color 180ms ease;
}

.feature-card:hover .channel-stack span:nth-child(1) {
  transform: translateX(4px);
}

.feature-card:hover .channel-stack span:nth-child(2) {
  transform: translateX(9px);
}

.feature-card:hover .channel-stack span:nth-child(3) {
  transform: translateX(6px);
}

.channel-stack span:first-child {
  background: var(--surface);
}

.avatar-wrap,
.no-spam-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.founder-avatar {
  width: 66px;
  height: 66px;
  border-radius: 7px;
  object-fit: cover;
}

.status-dot {
  position: absolute;
  top: 54px;
  left: calc(50% + 22px);
  width: 14px;
  height: 14px;
  animation: status-pulse 1900ms ease-in-out infinite;
}

.update-preview {
  width: 198px;
  max-width: 100%;
  height: 96px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--surface-soft);
  text-align: left;
  transition: background-color 180ms ease, transform 180ms ease;
}

.feature-card:hover .update-preview {
  background: rgba(255, 255, 255, 0.86);
  transform: translateY(-2px);
}

.update-preview span,
.update-preview strong {
  display: block;
}

.channel-name {
  font-size: 13px;
  line-height: 15px;
}

.update-preview strong {
  margin-top: 9px;
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
}

.link-text {
  margin-top: 4px;
  color: var(--link);
  font-size: 13px;
  line-height: 15px;
}

.no-spam-icon {
  width: 54px;
  height: 54px;
  margin-top: 6px;
  object-fit: contain;
  transition: transform 240ms ease;
}

.feature-card:hover .no-spam-icon {
  transform: rotate(-6deg) scale(1.04);
}

.feature-card h2 {
  margin: 22px 0 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 20px;
}

.feature-card p {
  max-width: 210px;
  margin: 16px 0 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 21px;
}

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 66px;
  text-align: center;
}

.cta h2 {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.15;
}

.cta p {
  max-width: 660px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

.cta p span {
  display: block;
  margin-top: 14px;
}

.cta a:not(.button) {
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 336px);
  min-height: 58px;
  margin-top: 28px;
  border: 2px solid var(--primary);
  border-radius: 8px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

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

.button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 35%, transparent);
  outline-offset: 3px;
}

@keyframes feature-rise {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes status-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.22);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 860px) {
  .landing-page {
    padding-inline: 22px;
  }

  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 60px;
    width: min(100%, 620px);
  }

  .feature-card {
    text-align: left;
  }

  .avatar-wrap,
  .no-spam-wrap {
    justify-content: flex-start;
    padding-left: 62px;
  }

  .watermark {
    right: -150px;
    bottom: -56px;
    width: 460px;
  }
}

@media (max-width: 560px) {
  .landing-page {
    padding: 36px 20px 48px;
  }

  .brand {
    gap: 12px;
  }

  .brand__mark {
    width: 62px;
    height: 62px;
  }

  .brand__text {
    font-size: 33px;
  }

  h1 {
    margin-top: 24px;
    font-size: clamp(30px, 9vw, 40px);
  }

  .hero-line {
    white-space: normal;
  }

  .partner-logos {
    flex-wrap: wrap;
    gap: 18px 24px;
    margin-top: 42px;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 38px;
    width: min(100%, 320px);
    margin-top: 58px;
  }

  .feature-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 0 18px;
    align-items: start;
  }

  .feature-visual {
    grid-row: span 2;
    width: 96px;
    height: auto;
    min-height: 80px;
  }

  .channel-stack span {
    width: 96px;
    min-height: 22px;
    padding-inline: 8px;
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .avatar-wrap,
  .no-spam-wrap {
    justify-content: center;
    padding-left: 0;
  }

  .update-preview {
    width: 96px;
    height: auto;
    min-height: 86px;
    padding: 8px;
  }

  .update-preview strong {
    font-size: 12px;
    line-height: 14px;
  }

  .feature-card h2 {
    margin-top: 0;
  }

  .feature-card p {
    max-width: none;
    margin-top: 10px;
    font-size: 15px;
    line-height: 19px;
  }

  .cta {
    margin-top: 46px;
  }

  .cta h2 {
    margin-bottom: 14px;
    font-size: 22px;
  }

  .cta p {
    font-size: 14px;
    line-height: 18px;
  }

  .watermark {
    right: -218px;
    bottom: -88px;
    width: 420px;
  }
}
