/* NotoChat website. Tokens come from the NotoChat brand (Plus Jakarta Sans, paper/ink/mint). */
:root {
  --paper: #F5F4F0; --surface: #FFFFFF; --stone: #E9E7E0; --border: #D6D3CA;
  --ink: #0E0F13; --muted: #5E5E5A;
  --brand-ink: #0E0F13; --brand-paper: #F5F4F0; --brand-muted: #A9A9A3;
  --mint: #14B88A; --on-mint: #0E0F13; --mint-deep: #0B7A5B; --mint-tint: #E3F6EF;
  --r-sm: 8px; --r-md: 14px; --r-lg: 24px; --r-pill: 999px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --wrap: 1160px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
section { padding: 64px 0; }
@media (min-width: 900px) { section { padding: 96px 0; } }
h1, h2, h3, p { margin: 0; }
.display { font-size: clamp(40px, 7vw, 68px); line-height: 1.04; font-weight: 700; letter-spacing: -0.04em; }
.h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.08; font-weight: 700; letter-spacing: -0.035em; }
.h3 { font-size: 22px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; }
.lead { font-size: 18px; color: var(--muted); max-width: 56ch; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mint-deep); }
.sec-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; max-width: 720px; }
.sec-head.center { margin-left: auto; margin-right: auto; align-items: center; text-align: center; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: var(--r-pill); border: 1.5px solid transparent; font: 600 15px/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--mint-deep); outline-offset: 2px; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--muted); }
.btn-accent { background: var(--mint); color: var(--on-mint); }
.btn-accent:hover { background: var(--mint-deep); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--ink); box-shadow: 0 6px 20px -12px rgba(14,15,19,.35); }
.btn-secondary:hover { background: var(--mint-tint); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* nav */
.nav-wrap { position: sticky; top: 0; z-index: 20; padding: 12px 0; background: color-mix(in srgb, var(--paper) 85%, transparent); backdrop-filter: blur(10px); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 10px 10px 20px; border-radius: var(--r-pill); border: 0; box-shadow: 0 8px 30px -14px rgba(14,15,19,.2); background: var(--surface); }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.logo img { width: 30px; height: 30px; }
.logo span { font-weight: 800; letter-spacing: -0.05em; font-size: 23px; line-height: 1; }
.nav-links { display: none; gap: 28px; }
.nav-links a { font-size: 15px; font-weight: 500; text-decoration: none; padding: 8px 0; }
.nav-links a:hover { color: var(--mint-deep); }
@media (min-width: 860px) { .nav-links { display: flex; } }
.nav .btn { min-height: 44px; padding: 0 20px; }

/* hero */
.hero { padding-top: 48px; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } }
.hero-copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--r-pill); background: var(--mint-tint); color: var(--mint-deep); font-size: 13px; font-weight: 600; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.hero-note { font-size: 14px; color: var(--muted); }
.hero-visual { position: relative; }
.photo { position: relative; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(160deg, var(--mint-tint), var(--stone)); aspect-ratio: 4 / 5; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.wide { aspect-ratio: 4 / 3; }
.hero-visual .chat { position: absolute; left: -4%; bottom: -28px; width: min(86%, 380px); box-shadow: 0 24px 60px -24px rgba(14,15,19,.35); }
@media (max-width: 959px) { .hero-visual .chat { position: relative; left: 0; bottom: 0; margin: -48px auto 0; } }

/* chat mock */
.chat { border-radius: var(--r-lg); border: 0; background: var(--surface); overflow: hidden; width: 100%; max-width: 420px; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.chat-id { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; }
.chat-id img { width: 28px; height: 28px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill); background: var(--mint-tint); color: var(--mint-deep); font-size: 12px; font-weight: 600; }
.badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.chat-body { display: flex; flex-direction: column; gap: 12px; padding: 18px; }
.msg { max-width: 82%; padding: 11px 15px; font-size: 15px; line-height: 1.5; border-radius: 20px; }
.msg.them { align-self: flex-end; background: var(--stone); border-bottom-right-radius: 6px; }
.msg.bot { align-self: flex-start; background: var(--mint-tint); border-bottom-left-radius: 6px; }
.chat-foot { padding: 12px 18px 16px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--border); }

/* works with */
.strip { padding: 24px 0 0; }
.strip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.strip-row b { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.chip svg { width: 20px; height: 20px; stroke: var(--mint-deep); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* cards */
.grid3 { display: grid; gap: 24px; }
@media (min-width: 820px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--r-lg); border: 0; background: var(--surface); }
.card p { color: var(--muted); }
.card.tint { background: var(--mint-tint); border-color: transparent; }
.card.tint p { color: var(--ink); }
.card.dark { background: var(--brand-ink); color: var(--brand-paper); }
.card.dark p { color: var(--brand-muted); }
.card.dark .eyebrow { color: var(--mint); }
.icon { width: 52px; height: 52px; border-radius: 16px; background: var(--stone); display: grid; place-items: center; }
.card.tint .icon { background: var(--surface); }
.card.dark .icon { background: #24262C; }
.card.tint .icon .c { fill: var(--mint-tint); }
.icon svg { width: 28px; height: 28px; }
.icon .a { fill: var(--ink); } .icon .b { fill: var(--mint); } .icon .c { fill: var(--surface); }
.card.dark .icon .a { fill: var(--brand-paper); }

.banner { position: relative; margin: 24px 0 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--brand-ink); }
@media (min-width: 820px) { .banner { aspect-ratio: 21 / 9; } }
.banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.banner figcaption { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; gap: 6px; padding: 56px 24px 24px; color: var(--brand-paper); background: linear-gradient(to top, rgba(14,15,19,.85), transparent); }
@media (min-width: 820px) { .banner figcaption { padding: 64px 40px 32px; } .banner .h3 { font-size: 28px; } }

/* tools / connected */
.tools { background: var(--stone); }
.tools-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .tools-grid { grid-template-columns: 1fr 1.1fr; } }
.tools-copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.flow { position: relative; display: grid; gap: 16px; }
.flow-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.node { padding: 16px 18px; border-radius: var(--r-md); background: var(--surface); border: 0; font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.node small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.node svg { width: 22px; height: 22px; flex: none; stroke: var(--mint-deep); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.hub { width: 76px; height: 76px; border-radius: 22px; background: var(--brand-ink); display: grid; place-items: center; }
.hub img { width: 44px; height: 44px; }
.link-line { height: 2px; background: repeating-linear-gradient(90deg, var(--mint) 0 6px, transparent 6px 12px); }

/* steps */
.steps { display: grid; gap: 24px; counter-reset: s; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { display: flex; flex-direction: column; gap: 12px; }
.step .n { font-size: 56px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--mint-deep); }
.step p { color: var(--muted); }

/* feature bento */
.bento { display: grid; gap: 24px; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(6, 1fr); } .b-a { grid-column: span 4; } .b-b { grid-column: span 2; } .b-c { grid-column: span 2; } .b-d { grid-column: span 2; } .b-e { grid-column: span 2; } }
.mini-chat { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.mini-chat .msg { font-size: 14px; }

/* compare */
.compare { display: grid; gap: 24px; max-width: 900px; margin: 0 auto; }
@media (min-width: 720px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare h3 { margin-bottom: 8px; }
.compare ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.compare li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.compare li svg { flex: none; width: 20px; height: 20px; margin-top: 2px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.yes svg { stroke: var(--mint); }
.no svg { stroke: var(--brand-muted); }
.no li { color: var(--muted); }
.card.dark li { color: var(--brand-paper); }

/* pricing */
.price { display: grid; gap: 24px; }
@media (min-width: 700px) { .price { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .price { grid-template-columns: repeat(4, 1fr); align-items: stretch; } }
.price .per { display: block; margin-top: 4px; font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price .dark .per { color: var(--brand-muted); }
.price .card { gap: 16px; }
.price .amt { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.price ul { list-style: none; margin: 8px 0 0; padding: 16px 0 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.price li { display: flex; gap: 10px; }
.price li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; stroke: var(--mint-deep); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.price .dark li svg { stroke: var(--mint); }
.price .dark ul { border-top-color: #34363d; }
.price .dark li { color: var(--brand-paper); }
.price .btn { margin-top: auto; }
.fine { margin-top: 24px; text-align: center; color: var(--muted); font-size: 14px; }

/* faq */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 1fr 1.4fr; } }
details { border-bottom: 1px solid var(--border); padding: 20px 0; }
details:first-of-type { border-top: 1px solid var(--border); }
summary { cursor: pointer; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--mint-deep); }
details[open] summary::after { content: "\2212"; }
details p { margin-top: 12px; color: var(--muted); max-width: 60ch; }

/* cta */
.cta { padding-bottom: 64px; }
.cta-box { position: relative; overflow: hidden; border-radius: 32px; background: var(--brand-ink); color: var(--brand-paper); padding: 56px 24px; display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .cta-box { padding: 72px 64px; grid-template-columns: 1.3fr 1fr; } }
.cta-box p { color: var(--brand-muted); font-size: 18px; max-width: 48ch; margin-top: 16px; }
.cta-box .btn-row { margin-top: 28px; }
.cta-box .btn-secondary { background: #24262C; color: var(--brand-paper); box-shadow: none; }
.cta-box .btn-secondary:hover { background: #34363D; }
.cta-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: url("assets/mark-dark.svg") center / 96px no-repeat, linear-gradient(160deg, #10342A, #24262C); }
.cta-photo img { width: 100%; height: 100%; object-fit: cover; }
.cta-mark { width: 120px; opacity: .9; justify-self: center; }

/* footer */
footer { border-top: 1px solid var(--border); padding: 56px 0 32px; }
.foot { display: grid; gap: 40px; }
@media (min-width: 820px) { .foot { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot h4 { margin: 0 0 14px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot a { text-decoration: none; } .foot a:hover { color: var(--mint-deep); }
.foot p { color: var(--muted); max-width: 32ch; margin-top: 14px; font-size: 15px; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }
.by { display: inline-flex; align-items: center; gap: 6px; }
.by a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.by a:hover { color: var(--mint-deep); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

@media (min-width: 700px) { .price article { display: grid; grid-template-rows: subgrid; grid-row: span 6; row-gap: 14px; align-content: start; } .price article .btn { align-self: start; } }
.price .badge { justify-self: start; }

.chip img { flex: none; }
.chip .logo-kommo { width: auto; height: 20px; }
.node img { flex: none; }
.chip .logo-zoho { height: 28px; width: auto; }

.logo picture, .chat-id picture { display: contents; }

.step-art { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 8px; display: grid; place-items: center; padding: 24px; }
.tone-a { background: var(--mint-tint); } .tone-b { background: var(--stone); } .tone-c { background: linear-gradient(160deg, var(--mint-tint), var(--stone)); }
.mock { background: var(--surface); border-radius: 18px; box-shadow: 0 18px 40px -22px rgba(14,15,19,.35); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.m-main { width: 86%; }
.m-title { font-size: 13px; font-weight: 700; letter-spacing: -0.01em; }
.m-row { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 8px 10px; border-radius: 12px; background: var(--paper); }
.m-row span { flex: 1; font-weight: 500; }
.m-row u { flex: 1; height: 8px; border-radius: 4px; background: var(--stone); text-decoration: none; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); flex: none; }
.ok { width: 22px; height: 22px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; flex: none; }
.ok svg { width: 13px; height: 13px; fill: none; stroke: var(--on-mint); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.m-float { position: absolute; padding: 10px 14px; border-radius: 14px; }
.f1 { right: 14px; bottom: 16px; } .f2 { right: 14px; top: 16px; } .f3 { right: 14px; bottom: 16px; width: 56%; gap: 8px; }
.m-chip { font-size: 12px; font-weight: 600; color: var(--mint-deep); }
.step-art .msg { font-size: 13px; padding: 8px 12px; max-width: 90%; }
.step .n { font-size: 40px; }

.m-row span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-row u { min-width: 20px; }
.step-art { aspect-ratio: 5 / 4; padding: 20px; }
.step-art .m-main { width: 92%; }
.tone-a .m-row u { display: none; }
