/* CRM on the go landing — local styles on top of toolstrek tokens */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: #fff;
  color: var(--tt-black);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
button, input { font-family: var(--font-sans); }

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

.container { width: min(1200px, calc(100vw - 80px)); margin: 0 auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--tt-grey-hairline);
}
.site-header .row {
  height: 80px; display: flex; align-items: center; justify-content: space-between;
}
.brand-lockup { display: flex; align-items: center; gap: 14px; }
.brand-lockup img { height: 32px; }
.brand-divider { width: 1px; height: 22px; background: var(--tt-grey-2); }
.brand-product { font-weight: 700; font-size: 16px; color: var(--tt-black); letter-spacing: -0.005em; }
.brand-product em { font-style: normal; color: var(--tt-green); }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-link {
  font-size: 15px; color: var(--tt-black); cursor: pointer;
  padding-bottom: 4px; border-bottom: 2px solid transparent;
  transition: border-color 180ms ease-out;
}
.nav-link:hover { border-bottom-color: var(--tt-green); }

.lang-switch {
  display: inline-flex; border: 1px solid var(--tt-grey-2);
  border-radius: 999px; padding: 3px; background: #fff;
}
.lang-switch button {
  all: unset; cursor: pointer;
  padding: 4px 12px; font-size: 13px; font-weight: 600;
  border-radius: 999px; color: var(--tt-grey-3);
  transition: all 160ms ease-out;
}
.lang-switch button.active { background: var(--tt-black); color: #fff; }

.btn-primary {
  all: unset; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 28px;
  background: var(--tt-green-dark); color: #fff;
  font-weight: 700; font-size: 15px;
  border-radius: 4px; border: 2px solid var(--tt-green-dark);
  transition: all 180ms ease-out;
}
.btn-primary:hover { background: var(--tt-green); border-color: var(--tt-green); }
.btn-primary.lg { height: 60px; padding: 0 36px; font-size: 17px; }

.btn-ghost {
  all: unset; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 4px;
  color: var(--tt-black); font-weight: 600; font-size: 15px;
}
.btn-ghost:hover { color: var(--tt-green-dark); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 80px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.hero .badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border: 1px solid var(--tt-green);
  background: var(--tt-green-tint);
  color: var(--tt-green-deep); font-size: 13px; font-weight: 600;
  border-radius: 999px;
}
.badge-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--tt-green); display: inline-block; box-shadow: 0 0 0 4px rgba(73,179,72,0.18); }

.hero h1 {
  margin: 24px 0 0;
  font-weight: 800;
  font-size: clamp(48px, 5.6vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--tt-black);
}
.hero h1 .accent { color: var(--tt-green); }
.hero h1 .muted-line { color: var(--tt-grey-3); display: block; }

.hero .sub {
  margin: 28px 0 0; max-width: 540px;
  font-size: 19px; line-height: 1.5;
  color: #555;
}
.hero .ctas { display: flex; gap: 14px; align-items: center; margin-top: 36px; flex-wrap: wrap; }
.hero .micro {
  margin-top: 28px; font-size: 13px; color: var(--tt-grey-placeholder);
  max-width: 480px; line-height: 1.5;
}

/* hero visual — monday item with telegram tab */
.hero-stage {
  position: relative;
  perspective: 1800px;
}
.monday-shell {
  position: relative;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #d0d4de;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 22px 50px -10px rgba(36, 50, 90, 0.18),
    0 60px 90px -30px rgba(36, 50, 90, 0.20);
  transform: rotateY(-9deg) rotateX(4deg) rotate(-1.5deg);
  transform-origin: 60% 50%;
  width: 100%;
  overflow: hidden;
}
.monday-titlebar {
  height: 38px;
  background: #f6f7fb;
  border-bottom: 1px solid #e6e8f0;
  display: flex; align-items: center; padding: 0 14px;
  gap: 8px;
}
.dot { width: 11px; height: 11px; border-radius: 999px; }
.dot.r { background: #ff5f57; } .dot.y { background: #ffbd2e; } .dot.g { background: #28c840; }
.url-pill {
  margin-left: 16px;
  font-size: 11px; color: #5c6680;
  background: #fff; border: 1px solid #e0e3ec;
  border-radius: 6px; padding: 3px 12px;
}
.monday-body { display: grid; grid-template-columns: 56px 1fr; min-height: 520px; }
.monday-side {
  background: #ffffff;
  border-right: 1px solid #eef0f5;
  padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.monday-side .glyph {
  width: 28px; height: 28px; border-radius: 6px; background: #eef0f5;
  display: flex; align-items: center; justify-content: center;
  color: #6b7591; font-size: 12px; font-weight: 700;
}
.monday-side .glyph.active { background: #0073ea; color: #fff; }

.item-header {
  padding: 16px 24px 10px;
  border-bottom: 1px solid #eef0f5;
}
.item-breadcrumb { font-size: 11px; color: #6b7591; display: flex; gap: 6px; align-items: center; }
.item-breadcrumb .pill { background: #ff7a45; color: #fff; padding: 1px 6px; border-radius: 4px; font-weight: 700; font-size: 10px; }
.item-title { font-size: 19px; font-weight: 700; color: #1f2640; margin-top: 6px; letter-spacing: -0.01em; }
.item-meta { display: flex; gap: 18px; margin-top: 12px; flex-wrap: wrap; }
.item-meta .chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; color: #4a5378;
}
.item-meta .chip .label { color: #8a91a8; }
.item-meta .chip .swatch { width: 10px; height: 10px; border-radius: 3px; }

.item-tabs {
  padding: 0 24px;
  display: flex; gap: 22px;
  border-bottom: 1px solid #eef0f5;
  background: #fff;
}
.item-tab {
  padding: 12px 0; font-size: 13px; color: #6b7591; cursor: default;
  border-bottom: 2px solid transparent;
  display: inline-flex; align-items: center; gap: 6px;
}
.item-tab.active { color: #1f2640; border-bottom-color: #0073ea; font-weight: 600; }
.item-tab .tg-mark {
  width: 14px; height: 14px; border-radius: 999px;
  background: linear-gradient(180deg, #37AEE2, #1E96C8);
  display: inline-block;
}

.tg-panel { padding: 16px 24px 22px; background: #fafbfd; }
.tg-header {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 14px; border-bottom: 1px solid #eef0f5; margin-bottom: 14px;
}
.tg-avatar {
  width: 40px; height: 40px; border-radius: 999px;
  background: linear-gradient(135deg, #ff8a65, #ff5722);
  color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.tg-name { font-size: 13px; font-weight: 700; color: #1f2640; }
.tg-meta { font-size: 11px; color: #8a91a8; margin-top: 2px; }
.tg-link {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; color: #0073ea; font-weight: 600;
}
.tg-link .lk-icon { width: 12px; height: 12px; border-radius: 3px; background: #0073ea; }

.tg-stream { display: flex; flex-direction: column; gap: 8px; }
.tg-msg {
  max-width: 78%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 13px; line-height: 1.4;
  position: relative;
}
.tg-msg.them { align-self: flex-start; background: #fff; color: #1f2640; border: 1px solid #eef0f5; border-bottom-left-radius: 4px; }
.tg-msg.us   { align-self: flex-end;   background: #d6f1ff; color: #0a3a55; border-bottom-right-radius: 4px; }
.tg-time { font-size: 10px; color: #8a91a8; margin-top: 4px; display: block; }

.tg-reply {
  margin-top: 14px; display: flex; gap: 8px; align-items: center;
  background: #fff; border: 1px solid #e0e3ec; border-radius: 10px; padding: 6px 6px 6px 14px;
}
.tg-reply input {
  all: unset; flex: 1; font-size: 13px; color: #1f2640;
}
.tg-reply input::placeholder { color: #8a91a8; }
.tg-reply button {
  all: unset; cursor: pointer;
  background: #1f2640; color: #fff; padding: 7px 14px; border-radius: 6px;
  font-size: 12px; font-weight: 700;
}

.ai-note {
  margin-top: 14px;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: #fff5e6;
  border: 1px solid #ffd9a8;
  border-radius: 8px;
  font-size: 12px; color: #6b4500;
}
.ai-note .star {
  width: 18px; height: 18px; border-radius: 999px;
  background: linear-gradient(135deg, #ffb74d, #f57c00);
  color: #fff; font-size: 11px;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}

/* floating tg-bubble decoration in hero */
.float-bubble {
  position: absolute;
  background: #fff; border: 1px solid #eef0f5;
  border-radius: 14px; padding: 12px 16px;
  font-size: 13px; color: #1f2640;
  box-shadow: 0 18px 40px -12px rgba(36,50,90,0.20);
  display: flex; align-items: center; gap: 10px;
}
.float-bubble .tg-mini {
  width: 28px; height: 28px; border-radius: 999px;
  background: linear-gradient(135deg, #37AEE2, #1E96C8);
  display: inline-block;
}
.float-bubble.fb-1 { top: -10px; left: -22px; transform: rotate(-3deg); }
.float-bubble.fb-2 { bottom: -16px; right: 8%; transform: rotate(2deg); }

/* ---------- generic section ---------- */
section { padding: 100px 0; }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--tt-green);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow .bar { width: 24px; height: 2px; background: var(--tt-green); display: inline-block; }
.section-title {
  margin: 16px 0 18px;
  font-weight: 800; font-size: clamp(36px, 4vw, 56px);
  line-height: 1.02; letter-spacing: -0.02em; color: var(--tt-black);
  max-width: 880px;
}
.section-lead {
  font-size: 19px; line-height: 1.5; color: #555; max-width: 720px; margin: 0;
}

/* ---------- problem ---------- */
.problem-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
  margin-top: 56px;
}
.problem-card {
  background: #fff;
  border: 2px solid #ECECEC;
  border-radius: 16px;
  padding: 28px 28px 32px;
  transition: all 180ms ease-out;
  position: relative;
}
.problem-card:hover { border-color: var(--tt-green); transform: translateY(-2px); }
.problem-card .num {
  font-size: 13px; font-weight: 700; color: var(--tt-green); letter-spacing: 0.05em;
}
.problem-card .t { font-size: 22px; font-weight: 700; color: var(--tt-black); margin-top: 14px; letter-spacing: -0.01em; }
.problem-card .d { font-size: 15px; line-height: 1.55; color: #5a5a5a; margin-top: 10px; }

/* ---------- ICP ---------- */
.icp { background: var(--tt-grey-1); }
.icp-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: 48px;
}
.icp-card {
  background: #fff; border: 1px solid var(--tt-grey-hairline);
  border-radius: 14px; padding: 22px 22px 26px;
  transition: all 180ms ease-out;
}
.icp-card:hover { border-color: var(--tt-green); }
.icp-card .t { font-size: 17px; font-weight: 700; color: var(--tt-black); }
.icp-card .d { font-size: 14px; color: #5a5a5a; margin-top: 8px; line-height: 1.5; }
.icp-callout {
  margin-top: 36px;
  padding: 24px 28px;
  border-left: 3px solid var(--tt-green);
  background: #fff;
  font-size: 16px; line-height: 1.55; color: var(--tt-black);
  max-width: 880px;
  border-radius: 0 12px 12px 0;
}

/* ---------- how ---------- */
.steps {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  position: relative;
}
.step {
  background: #fff; border: 1px solid var(--tt-grey-hairline);
  border-radius: 14px; padding: 24px 22px 28px;
  position: relative;
}
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 999px;
  background: var(--tt-black); color: #fff;
  font-size: 13px; font-weight: 800; letter-spacing: 0.02em;
}
.step:nth-child(2) .num { background: var(--tt-green); }
.step:nth-child(3) .num { background: var(--tt-green-dark); }
.step:nth-child(4) .num { background: var(--tt-green-deep); }
.step .t { font-size: 18px; font-weight: 700; color: var(--tt-black); margin-top: 18px; letter-spacing: -0.01em; }
.step .d { font-size: 14px; color: #5a5a5a; margin-top: 10px; line-height: 1.55; }

/* ---------- quote ---------- */
.quote-section { padding: 80px 0 100px; }
.quote-card {
  background: var(--tt-black);
  color: #fff;
  border-radius: 24px;
  padding: 64px;
  position: relative;
  overflow: hidden;
}
.quote-card::before {
  content: '"';
  position: absolute; top: -40px; left: 32px;
  font-size: 320px; font-weight: 800; color: rgba(73,179,72,0.18);
  font-family: Georgia, serif; line-height: 1;
}
.quote-card .eyebrow { color: var(--tt-green); }
.quote-card .q-text {
  position: relative; z-index: 1;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 500; line-height: 1.3; letter-spacing: -0.01em;
  margin: 24px 0 32px;
  max-width: 920px;
}
.quote-card .q-author { font-size: 14px; color: var(--tt-grey-3); }

/* ---------- form ---------- */
.beta { padding: 80px 0 120px; }
.beta-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.beta-bullets { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.beta-bullets li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 16px; color: var(--tt-black); line-height: 1.4;
}
.beta-bullets .check {
  flex: none;
  width: 22px; height: 22px; border-radius: 999px;
  background: var(--tt-green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
}

.beta-form {
  background: #fff;
  border: 2px solid var(--tt-black);
  border-radius: 20px;
  padding: 36px;
}
.field { display: block; margin-bottom: 20px; }
.field-label { font-size: 13px; font-weight: 600; color: var(--tt-black); margin-bottom: 8px; display: block; }
.field input {
  width: 100%; height: 52px; border-radius: 10px;
  border: 1px solid var(--tt-grey-2); background: #fff;
  padding: 0 18px; font-size: 15px; color: var(--tt-black);
  transition: border-color 180ms ease-out;
}
.field input:focus { outline: none; border-color: var(--tt-black); }
.field input:not(:placeholder-shown) { border-color: var(--tt-green); }

.choice-row { display: flex; gap: 8px; flex-wrap: wrap; }
.choice {
  cursor: pointer; user-select: none;
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--tt-grey-2); background: #fff;
  font-size: 14px; font-weight: 500; color: var(--tt-black);
  transition: all 160ms ease-out;
}
.choice:hover { border-color: var(--tt-green); }
.choice.active { background: var(--tt-black); color: #fff; border-color: var(--tt-black); }

.consent {
  font-size: 12px; color: var(--tt-grey-placeholder); line-height: 1.5;
  margin: 18px 0 0;
}
.beta-form .submit {
  margin-top: 8px;
  width: 100%;
  height: 56px;
  background: var(--tt-green-dark); color: #fff;
  font-weight: 700; font-size: 16px;
  border: 2px solid var(--tt-green-dark); border-radius: 10px;
  cursor: pointer;
  transition: all 180ms ease-out;
}
.beta-form .submit:hover { background: var(--tt-green); border-color: var(--tt-green); }

.beta-success {
  text-align: center; padding: 48px 16px;
}
.beta-success .check-big {
  width: 64px; height: 64px; border-radius: 999px;
  background: var(--tt-green); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 800; margin-bottom: 20px;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--tt-grey-1); border-top: 1px solid var(--tt-grey-hairline);
  padding: 48px 0 56px;
}
.site-footer .row {
  display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start;
}
.site-footer img { height: 28px; }
.site-footer .product-line { font-size: 14px; color: #5a5a5a; max-width: 460px; line-height: 1.5; margin: 14px 0 0; }
.site-footer .right { text-align: right; font-size: 14px; color: #5a5a5a; }
.site-footer .right .copy { color: var(--tt-grey-placeholder); margin-top: 8px; font-size: 13px; }

@media (max-width: 1080px) {
  .hero-grid, .beta-grid { grid-template-columns: 1fr; gap: 48px; }
  .problem-grid { grid-template-columns: 1fr; }
  .icp-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .quote-card { padding: 40px 28px; }
  .container { width: calc(100vw - 40px); }
}
