/* Public website and customer sign-in. The owner and workspace have their own styles. */
.intro-page, .subject-page, .chat-access {
  --paper: #f9faf5;
  --ink: #10271d;
  --muted: #46564c;
  --pine: #074b32;
  --plum: var(--pine);
  --rule: #cad3c7;
  --lime: #dbf68c;
  --display: "DM Sans", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
}
.wrap, .chat-landing {
  width: min(92%, 1440px);
  margin-inline: auto;
}
:is(.intro-page, .subject-page, .chat-access) .mast {
  position: relative;
  z-index: 4;
  border: 0;
  background: var(--paper);
}
.mast .bar {
  min-height: clamp(68px, 6.1vw, 94px);
  border-bottom: 1px solid var(--rule);
  gap: 18px;
  flex-wrap: nowrap;
}
.mast .brand, .intro-page .mast .brand, .intro-page .mast .brand-dot,
.intro-page .mast nav > a { color: var(--ink); }
.mast .brand {
  font-size: clamp(1.22rem, 2vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -.065em;
}
.mast .mark {
  display: inline-flex;
  justify-content: center;
  width: 1.62em;
  height: 1.62em;
  margin-right: .43em;
  gap: 2px;
  border-radius: 29%;
  color: var(--lime);
  background: #093d2b;
  transform: none;
}
.mast .mark b { width: 3px; height: 25%; }
.mast .mark b:nth-child(2) { height: 41%; }
.mast .mark b:nth-child(3) { height: 62%; }
.mast .mark b:nth-child(4) { height: 43%; }
.mast .brand-dot { color: var(--ink); }
.mast nav { gap: clamp(20px, 2.3vw, 38px); flex-wrap: nowrap; }
.mast nav a { font-size: .99rem; }
.mast nav a[aria-current], .mast .nav-link:hover {
  color: var(--pine);
  text-decoration: underline;
  text-underline-offset: .44em;
  text-decoration-thickness: 2px;
}
.intro-page .nav-link[href="/"] { display: none; }
:is(.intro-page, .subject-page) .mast .signin-link {
  background: transparent;
  color: var(--ink);
  border: 1px solid #3d5146;
  padding: .58em 1.36em;
  border-radius: 99px;
  min-height: 40px;
}
:is(.intro-page, .subject-page) .mast .signin-link:hover { background: #e9efdf; }
.mast .signin-link span { display: none; }
.mast .mobile-menu summary {
  display: flex;
  align-items: center;
  gap: .5em;
  min-height: 44px;
  font-weight: 650;
  list-style: none;
  cursor: pointer;
}
.mast .mobile-menu summary::-webkit-details-marker { display: none; }
.mast .mobile-menu summary::after {
  content: "";
  width: .42em;
  height: .42em;
  margin-top: -.2em;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.mast .mobile-menu[open] summary::after { transform: rotate(225deg); margin-top: .22em; }
:is(.intro-page, .subject-page) .mast .mobile-menu div {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  width: 176px;
  padding: 6px;
  z-index: 6;
  background: white;
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow: 0 12px 30px #183a241a;
}
.mast .mobile-menu a { display: block; padding: 11px 13px; border-radius: 8px; }
.mast .mobile-menu a:hover { background: #eff3e9; }
@media (min-width: 961px) {
  .mast .bar { position: relative; }
  .mast .bar nav { margin-inline: auto; }
  .mast .brand { position: absolute; left: 0; }
  .mast .signin-link { position: absolute; right: 0; }
  .mast .nav-link + .nav-link { border-left: 1px solid #b9c6b7; padding-left: clamp(20px, 2.3vw, 38px); }
  .intro-page .nav-link[href="/platform"] { padding-left: 0; border: 0; }
}
@media (max-width: 960px) {
  .mast .mobile-menu { position: relative; }
}

.chat-hero {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.04fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding-block: clamp(26px, 2.8vw, 46px);
}
.chat-story h1 {
  margin: 0;
  color: var(--ink);
  font: 735 clamp(3.45rem, 5.65vw, 5.9rem)/1.03 var(--display);
  letter-spacing: -.072em;
}
.chat-story em {
  display: block;
  color: var(--pine);
  font: italic 500 1.24em/.97 Georgia, serif;
  letter-spacing: -.064em;
}
.chat-story p {
  max-width: 39ch;
  margin: clamp(18px, 2.6vw, 40px) 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.64vw, 1.62rem);
  line-height: 1.45;
  letter-spacing: -.022em;
}
.open-room, .subject-page .primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 1.25em;
  min-height: 48px;
  padding: .92em 1.5em;
  background: var(--pine);
  color: white;
  border-radius: 99px;
  font-weight: 650;
  line-height: 1.22;
  text-decoration: none;
}
.open-room { margin-top: clamp(22px, 2.8vw, 42px); font-size: clamp(1rem, 1.36vw, 1.3rem); }
.open-room span, .feature-arrow { font-family: "Segoe UI Symbol", sans-serif; font-size: 1.3em; line-height: 1; }
.open-room:hover, .subject-page .primary:hover { background: #063a27; }
.chat-art {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: clamp(17px, 2vw, 28px);
  background: #0b3c2a;
}
.chat-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  border-top: 1px solid var(--rule);
  padding-block: clamp(18px, 2.7vw, 40px);
}
.intro-page .chat-directory > a {
  color: var(--ink);
}
.chat-directory a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(10px, 1.35vw, 23px);
  align-items: start;
  padding: 5px clamp(14px, 2vw, 32px);
  color: var(--ink);
  text-decoration: none;
}
.chat-directory a:first-child { padding-left: 0; }
.chat-directory a:last-child { padding-right: 0; }
.chat-directory a + a { border-left: 1px solid var(--rule); }
.chat-directory strong { display: block; font-size: clamp(1.06rem, 1.58vw, 1.56rem); line-height: 1.2; letter-spacing: -.04em; }
.chat-directory small { display: block; margin-top: .4em; color: var(--muted); font-size: clamp(.88rem, 1.05vw, 1rem); font-weight: 400; line-height: 1.45; }
.feature-icon {
  display: grid;
  place-items: center;
  width: clamp(40px, 4.5vw, 68px);
  aspect-ratio: 1;
  color: #103c2b;
  background: #e3f99f;
  border-radius: 23%;
}
.feature-icon svg { width: 57%; height: 57%; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linejoin: round; stroke-linecap: round; }
.chat-directory a:nth-child(2) .feature-icon { background: #b9f1d7; }
.chat-directory a:nth-child(3) .feature-icon { background: #c5e8fa; }
.feature-arrow { margin-top: .16em; color: var(--pine); }
.chat-directory a:hover strong { text-decoration: underline; text-underline-offset: .2em; }
@media (prefers-reduced-motion: no-preference) {
  .feature-arrow, .open-room span { transition: transform .18s ease; }
  .chat-directory a:hover .feature-arrow, .open-room:hover span { transform: translateX(3px); }
}

/* Existing product, industry and pricing pages. */
.subject-page .editorial { padding-block: clamp(32px, 4.8vw, 76px) 65px; }
.subject-page .page-intro { margin-block: 10px clamp(28px, 3.4vw, 54px); max-width: 900px; }
.subject-page .page-intro h1 { max-width: 20ch; font-weight: 650; line-height: 1.02; text-wrap: balance; }
.subject-page .intro { max-width: 63ch; font-size: clamp(1rem, 1.4vw, 1.24rem); margin: 18px 0 0; }
.subject-page .eyebrow { margin-bottom: 14px; color: var(--pine); font-size: .79rem; letter-spacing: .095em; }
.subject-page .crumb { display: inline-block; margin-bottom: 17px; }
.subject-page .industry-grid, .subject-page .workflow { gap: clamp(12px, 1.45vw, 22px); }
.subject-page .industry-card, .subject-page .workflow article,
.subject-page .rates article, .topic-reading section {
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: clamp(21px, 2.2vw, 34px);
  background: white;
}
.subject-page .industry-card {
  grid-template-rows: auto 1fr;
  min-height: 140px;
  align-content: start;
  gap: .8em 12px;
}
.subject-page .industry-card b {
  grid-column: 2; grid-row: 1;
  display: grid; place-items: center; align-self: start;
  border: 1px solid #d0dbce; border-radius: 50%; width: 30px; height: 30px; font-size: .93rem;
}
.subject-page .industry-card:not(.topic-card) strong { grid-column: 1 / -1; }
.subject-page .industry-card:hover { transform: none; border-color: #6d917b; box-shadow: 0 5px 18px #26462d0c; }
.subject-page .industry-card:hover b { background: var(--pine); color: white; border-color: var(--pine); }
.subject-page .industry-card:nth-child(3n + 2), .subject-page .workflow article:nth-child(2) { background: #edf5e9; }
.subject-page .industry-card:nth-child(3n), .subject-page .workflow article:nth-child(3) { background: #eaf3f5; }
.subject-page .topic-reading { gap: 18px; padding: 0; border: 0; }
.topic-reading section:nth-child(2) { background: #eaf3e5; }
.topic-reading h2, .workflow article h2 { margin: .15em 0 .55em; }
.topic-reading p, .workflow article p { margin: 0; }
.subject-page .rates { gap: 14px; }
.subject-page .rates article { display: flex; flex-direction: column; align-items: start; gap: 9px; }
.subject-page .rates strong { color: var(--pine); font-size: clamp(1.9rem, 2.7vw, 2.95rem); margin: 0; letter-spacing: -.05em; }
.subject-page .rates small { font-size: .94rem; color: var(--muted); font-weight: 650; }
.subject-page .rates span { font-size: .96rem; line-height: 1.5; color: var(--muted); }
.subject-page section:has(> .rates) { margin-block: clamp(34px, 4vw, 62px); }
.subject-page section > .rates { grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 16px; }
.subject-page section:has(> .rates) > p, .subject-page .calculator + p { color: var(--muted); max-width: 84ch; line-height: 1.65; }
.subject-page .calculator { background: #0b402f; color: #f5faf1; border-radius: 22px; }
.subject-page .calculator p { color: #dfebdf; }
.subject-page .calculator form { background: var(--paper); color: var(--ink); }
.subject-page .calculator input, .subject-page .calculator select { border-color: #aebdae; }
.subject-page .calculator output { padding-top: 12px; border-top: 1px solid var(--rule); }

/* The same identity across password, WhatsApp and verification states. */
.chat-access { background: radial-gradient(ellipse at 50% 30%, #edf3e5, transparent 58%), var(--paper); }
.signin-main { width: min(490px, 92%); margin: clamp(36px, 8vh, 90px) auto 40px; }
.signin-main .member-panel { padding: clamp(25px, 3.8vw, 46px); color: var(--ink); background: white; border: 1px solid var(--rule); border-radius: 23px; box-shadow: 0 18px 50px #183f2410; }
.signin-main h1 { margin: 0 0 26px; color: var(--ink); font: 650 clamp(1.85rem, 3vw, 2.55rem)/1.08 var(--display); letter-spacing: -.056em; }
.signin-main label, .signin-main .member-panel p { color: var(--muted); }
.signin-main .member-panel input { color: var(--ink); background: #fafbf7; border-color: #a8b9aa; }
.signin-main .member-panel input:focus { background: white; }
.signin-main .alternative { color: var(--pine); border-color: #9cb2a2; }
.signin-main .alternative:hover { background: #edf5e9; }
.signin-main button:not(:disabled), .signin-main [data-sender-warning]:not([hidden]) + [data-password-signin] { color: white; background: var(--pine); }
.signin-main .member-panel button:disabled { color: #58655c; background: #e3e9e0; }
.signin-main .member-panel .notice { background: #fbefd9; border-color: #a36d2a; color: #593d1e; }
.signin-main .back { color: var(--pine); }
:is(.intro-page, .chat-access, .subject-page) :focus-visible { outline: 3px solid #247352; outline-offset: 4px; }
@media (max-width: 840px) {
  .chat-directory a { grid-template-columns: auto minmax(0, 1fr); }
  .feature-arrow { display: none; }
}
@media (max-width: 700px) {
  .chat-hero { grid-template-columns: 1fr; gap: 24px; padding-block: 28px 23px; }
  .chat-story h1 { font-size: clamp(3rem, 9.8vw, 4.7rem); }
  .chat-art { max-height: 390px; object-position: center; }
  .chat-directory { grid-template-columns: 1fr; padding-block: 0 18px; }
  .chat-directory a { grid-template-columns: 46px minmax(0, 1fr) auto; gap: 14px; padding: 16px 0; align-items: center; }
  .chat-directory a + a { border-left: 0; border-top: 1px solid var(--rule); }
  .feature-icon { width: 46px; }
  .feature-arrow { display: block; margin: 0; }
  .chat-directory small { margin-top: 3px; }
  .subject-page section > .rates { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .mast .bar { min-height: 65px; gap: 8px; }
  .mast nav { gap: 12px; }
  .mast .mobile-menu summary, .mast .signin-link { font-size: .88rem; }
  .subject-page .rates { grid-template-columns: 1fr; }
  .subject-page .rates article { gap: 5px; }
}
@media (max-width: 360px) {
  .mast .brand { font-size: 1.1rem; }
  .mast .bar nav { gap: 8px; }
  :is(.intro-page, .subject-page) .mast .signin-link { padding-inline: .85em; }
}
