/**
 * Landing-only extras on top of packages/ui/stay-theme.css + DaisyUI.
 */

.navbar a {
  text-decoration: none;
}

.navbar .menu a:hover {
  background: #eff6ff;
  color: #2563eb;
}

.link-primary {
  color: #2563eb;
}

.bg-page {
  background-color: #f9fafb;
}

.text-brand {
  color: #3b82f6;
}

#how .icon-circle {
  width: 4rem;
  height: 4rem;
  font-size: 1.25rem;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04);
}

#how .icon-circle svg {
  width: 1.4rem;
  height: 1.4rem;
}

#how ol > li {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 13.5rem;
}

.soft-card.feature-row {
  background: #fff;
  min-height: 4.25rem;
}

.stay-nav .dropdown-content a.btn {
  display: inline-flex;
  justify-content: center;
}

.plan-card ul {
  flex: 1;
}

.hero-cta .btn {
  height: 3rem;
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
}

/* How-to guide */
.guide-wrap {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .guide-wrap {
    grid-template-columns: 14rem minmax(0, 1fr);
    gap: 3.5rem;
    align-items: start;
  }
}

.guide-toc {
  position: sticky;
  top: 5.5rem;
}

.guide-toc a {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.4rem 0.6rem;
  border-radius: 0.6rem;
  color: #6b7280;
  text-decoration: none;
  font-size: 0.875rem;
}

.guide-toc a:hover,
.guide-toc a:focus-visible {
  background: #eff6ff;
  color: #2563eb;
}

.guide-toc .n {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  font-weight: 600;
  color: #9ca3af;
  width: 1.4rem;
  flex-shrink: 0;
}

.guide-hero-cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .guide-hero-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.guide-role {
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 1rem;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.guide-step {
  scroll-margin-top: 6rem;
  margin-bottom: 3.25rem;
}

.guide-num {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 600;
  color: #3b82f6;
  letter-spacing: 0.04em;
}

.guide-shot {
  margin: 1.15rem auto 0;
  width: min(100%, 28rem);
  max-width: 28rem;
  justify-self: center;
  min-width: 0;
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.guide-shot--narrow {
  width: min(100%, 20rem);
  max-width: 20rem;
}

.guide-shot--phone {
  width: min(100%, 16.5rem);
  max-width: 16.5rem;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.guide-shot--phone .phone-frame {
  width: 198px;
  padding: 0.55rem 0.45rem 0.65rem;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
}

.guide-shot--phone .phone-screen {
  min-height: 248px;
}

.guide-shot--phone .phone-bar {
  padding: 0.55rem 0.7rem;
  font-size: 0.7rem;
}

.guide-shot--phone .bubble-guest,
.guide-shot--phone .bubble-bot {
  font-size: 0.7rem;
  padding: 0.4rem 0.55rem;
}

.guide-ui {
  background: #f9fafb;
  font-size: 0.75rem;
  line-height: 1.35;
  color: #111827;
}

.guide-ui--hero {
  padding: 1rem 1.1rem 1.15rem;
}

.guide-ui--hero .mock-h {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0.35rem 0 0.55rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guide-ui--app {
  display: grid;
  grid-template-columns: 7.1rem minmax(0, 1fr);
  min-height: 15.5rem;
  max-height: 17.5rem;
  overflow: hidden;
}

[dir="rtl"] .guide-ui--app {
  grid-template-columns: minmax(0, 1fr) 7.1rem;
}

.mock-side {
  background: #fff;
  border-right: 1px solid #eef0f4;
  padding: 0.65rem 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

[dir="rtl"] .mock-side {
  border-right: 0;
  border-left: 1px solid #eef0f4;
}

.mock-brand {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.7rem;
  margin: 0 0.25rem 0.45rem;
}

.brand-mark--xs {
  width: 1.25rem;
  height: 1.25rem;
  font-size: 0.55rem;
  border-radius: 0.35rem;
}

.mock-link {
  display: block;
  padding: 0.28rem 0.4rem;
  border-radius: 0.4rem;
  color: #6b7280;
  font-size: 0.68rem;
}

.mock-link.mock-on {
  background: #eff6ff;
  color: #2563eb;
  font-weight: 600;
}

.mock-main {
  padding: 0.7rem 0.75rem 0.8rem;
  min-width: 0;
}

.mock-kicker {
  font-size: 0.65rem;
  font-weight: 600;
  color: #3b82f6;
  margin: 0 0 0.2rem;
}

.mock-title {
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
}

.mock-lead {
  color: #6b7280;
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
}

.mock-card {
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 0.65rem;
  padding: 0.55rem 0.65rem;
}

.mock-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.35rem 0;
  border-top: 1px solid #f3f4f6;
  font-size: 0.68rem;
}

.mock-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.mock-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.mock-metric {
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 0.5rem;
  padding: 0.4rem 0.5rem;
}

.mock-metric b {
  display: block;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.mock-metric span {
  color: #6b7280;
  font-size: 0.62rem;
}

.mock-login {
  padding: 1.1rem 1.15rem 1.2rem;
}

.mock-tg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  margin-top: 0.75rem;
  background: #3b82f6;
  color: #fff;
  border-radius: 9999px;
  padding: 0.55rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.mock-link-box {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  background: #f3f4f6;
  border-radius: 0.4rem;
  padding: 0.35rem 0.45rem;
  color: #374151;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-chat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: #f0f2f5;
  border-radius: 0.65rem;
  padding: 0.55rem;
}

.mock-q,
.mock-a {
  max-width: 90%;
  border-radius: 0.75rem;
  padding: 0.35rem 0.5rem;
  font-size: 0.68rem;
}

.mock-q {
  margin-left: auto;
  background: #3b82f6;
  color: #fff;
  border-bottom-right-radius: 0.2rem;
}

.mock-a {
  background: #fff;
  border-bottom-left-radius: 0.2rem;
}

.guide-split {
  display: grid;
  gap: 1rem;
  justify-items: center;
}

@media (min-width: 768px) {
  .guide-split {
    grid-template-columns: minmax(0, 1fr) 16.5rem;
    align-items: start;
    justify-items: stretch;
  }

  .guide-split .guide-shot {
    margin-top: 1.15rem;
  }
}

.guide-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.9rem;
  background: #f9fafb;
  border-bottom: 1px solid #eef0f4;
}

.guide-chrome i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: #e5e7eb;
  display: block;
}

.guide-chrome i:nth-child(1) {
  background: #fecaca;
}
.guide-chrome i:nth-child(2) {
  background: #fde68a;
}
.guide-chrome i:nth-child(3) {
  background: #bbf7d0;
}

.guide-url {
  margin-left: 0.35rem;
  font-size: 0.7rem;
  color: #9ca3af;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.guide-shot figcaption {
  padding: 0.65rem 0.9rem 0.8rem;
  font-size: 0.8125rem;
  color: #6b7280;
  border-top: 1px solid #eef0f4;
  background: #fff;
}

.guide-shot--phone figcaption {
  border: 1px solid #eef0f4;
  border-radius: 0.85rem;
  margin-top: 0.75rem;
}

.guide-note {
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: #1e40af;
  margin-top: 0.85rem;
}
