:root {
  --wall: #eef1ec;
  --ink: #141414;
  --ink-soft: #3a3a36;
  --red: #d8231a;
  --yellow: #ffe81a;
  --lime: #c6ef3c;
  --pink: #ff86b9;
  --orange: #ff9a2e;
  --white: #fdfdfb;
  --green: #0e7c6b;
  --green-deep: #095c4f;
  --chat: #e7f0e9;
  --bubble-user: #d3f5c8;

  --brush: 'Knewave', 'Archivo', system-ui, sans-serif;
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --shadow-paper: 0 1px 1px rgb(20 20 20 / .08), 0 10px 24px -8px rgb(20 20 20 / .28);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }

body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-variation-settings: 'wdth' 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--red); color: var(--yellow); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 2px; }
h1, h2, h3, p { margin: 0; }
html { scrollbar-color: var(--ink) var(--wall); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--yellow); padding: 10px 16px; border-radius: 6px; font-weight: 700;
}
.skip:focus { top: 12px; }

.ico { width: 1.25em; height: 1.25em; flex: none; }

.brush {
  font-family: var(--brush);
  font-weight: 400;
  line-height: .98;
  letter-spacing: 0;
  text-wrap: balance;
}
.red { color: var(--red); }
.h2 {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.02;
  font-weight: 850;
  font-variation-settings: 'wdth' 72;
  letter-spacing: -.02em;
  text-wrap: balance;
  max-width: 18ch;
}
.lede { font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: var(--ink-soft); max-width: 52ch; }
.note {
  font-size: .8125rem; font-weight: 600; letter-spacing: .02em; color: var(--ink-soft);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: inherit; font-weight: 800; font-variation-settings: 'wdth' 88;
  text-decoration: none; border: 0; cursor: pointer;
  border-radius: 999px; min-height: 44px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s;
}
.btn-zap {
  background: var(--green); color: #fff;
  box-shadow: 0 2px 2px rgb(9 92 79 / .25), 0 12px 24px -10px rgb(9 92 79 / .6);
}
.btn-zap:hover { background: var(--green-deep); transform: translateY(-2px); box-shadow: 0 3px 4px rgb(9 92 79 / .25), 0 18px 30px -12px rgb(9 92 79 / .7); }
.btn-zap:active { transform: translateY(0); }
.btn-sm { padding: 0 18px; font-size: .95rem; }
.btn-lg { padding: 0 28px; min-height: 60px; font-size: 1.15rem; }
.btn-xl { padding: 0 36px; min-height: 72px; font-size: clamp(1.15rem, 2vw, 1.4rem); }
.btn-lg .ico, .btn-xl .ico { width: 1.5em; height: 1.5em; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em; min-height: 44px;
  font-weight: 750; text-decoration: underline; text-decoration-thickness: 2px;
}
.link-arrow .ico { transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

.bar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 10px var(--gutter);
  background: rgb(238 241 236 / .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 2px solid var(--ink);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-weight: 900; font-variation-settings: 'wdth' 80; font-size: 1.4rem; letter-spacing: -.02em;
}
.brand-mark { width: 34px; height: 34px; color: var(--green); }
.bar-nav { display: flex; gap: 22px; margin-left: auto; font-weight: 650; font-size: .95rem; }
.bar-nav a { text-decoration: none; padding: 6px 0; }
.bar-nav a:hover { text-decoration: underline; }

.paper { position: relative; }
.paper-yellow { background: var(--yellow); }
.paper-lime { background: var(--lime); }
.paper-pink { background: var(--pink); }
.paper-orange { background: var(--orange); }
.paper-white { background: var(--white); }

.wall { padding: clamp(72px, 10vw, 136px) var(--gutter); max-width: var(--max); margin: 0 auto; }

.hero {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(56px, 8vw, 104px);
  min-height: calc(100svh - 62px);
}
.hero-copy { position: relative; display: flex; flex-direction: column; gap: 26px; max-width: 680px; justify-self: end; }
.hero h1 { font-size: clamp(3rem, 7.4vw, 6rem); }
.stamp {
  position: absolute; top: -78px; right: -2%;
  display: grid; place-items: center; width: 104px; aspect-ratio: 1;
  background: var(--red); color: var(--yellow);
  font-family: var(--brush); font-size: 1.45rem; transform: rotate(12deg);
  clip-path: polygon(50% 0, 61% 12%, 77% 6%, 80% 22%, 96% 26%, 89% 40%, 100% 52%, 88% 62%, 93% 78%, 77% 80%, 72% 96%, 58% 89%, 45% 100%, 36% 87%, 20% 93%, 18% 77%, 3% 72%, 11% 58%, 0 46%, 12% 36%, 6% 20%, 22% 18%, 27% 3%, 41% 11%);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 4px 0 0; list-style: none;
}
.hero-facts li {
  font-weight: 750; font-size: .9rem; font-variation-settings: 'wdth' 85;
  padding: 5px 12px; border: 2px solid var(--ink); border-radius: 999px;
}

.hero-board {
  position: relative; margin: 0; justify-self: start;
  display: grid; grid-template-columns: auto 1fr; gap: clamp(16px, 2.4vw, 32px); align-items: center;
  max-width: 560px; width: 100%;
}
.string { position: absolute; left: 6px; top: 0; width: 60px; height: 100%; overflow: visible; pointer-events: none; }
.string path { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }

.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; position: relative; }
.tag {
  position: relative; display: flex; flex-direction: column; gap: 2px;
  min-width: 150px; padding: 14px 18px 14px 30px;
  border-radius: 3px; box-shadow: var(--shadow-paper);
  transform: rotate(var(--r));
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%);
  animation: pin .7s var(--ease) both; animation-delay: var(--d);
}
.tag::before {  content: ''; position: absolute; left: 12px; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border-radius: 50%; background: var(--yellow); box-shadow: inset 0 1px 2px rgb(0 0 0 / .35);
}
.tag-white { background: var(--white); }
.tag-lime { background: var(--lime); }
.tag-pink { background: var(--pink); }
.tag-kind { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.tag-text { font-family: var(--brush); font-size: 1.35rem; line-height: 1.05; }

@keyframes pin {
  from { opacity: 0; transform: translateY(-18px) rotate(calc(var(--r) - 8deg)); filter: blur(3px); }
  to { opacity: 1; transform: rotate(var(--r)); filter: blur(0); }
}

.phone {
  background: var(--chat); border: 3px solid var(--ink); border-radius: 30px; overflow: hidden;
  box-shadow: 0 2px 2px rgb(20 20 20 / .1), 0 30px 50px -20px rgb(20 20 20 / .45);
  transform: rotate(2deg);
}
.phone-top {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px;
  background: var(--green); color: #fff; line-height: 1.2;
}
.phone-top b { display: block; font-weight: 750; }
.phone-top small { font-size: .78rem; color: rgb(255 255 255 / .82); }
.avatar {
  display: grid; place-items: center; width: 36px; height: 36px; flex: none;
  border-radius: 50%; background: var(--yellow); color: var(--ink);
  font-weight: 900; font-size: .8rem;
}
.phone-chat, .sim-chat { display: flex; flex-direction: column; gap: 8px; padding: 16px; }
.phone-chat { min-height: 300px; }

.bubble {
  max-width: 86%; padding: 9px 12px; border-radius: 12px; font-size: .95rem; line-height: 1.4;
  box-shadow: 0 1px 1px rgb(0 0 0 / .12);
}
.phone-chat .bubble { animation: arrive .5s var(--ease) both; animation-delay: var(--d); }
.bubble.bot { background: #fff; align-self: flex-start; border-top-left-radius: 3px; }
.bubble.user { background: var(--bubble-user); align-self: flex-end; border-top-right-radius: 3px; }
.bubble.agent { background: #fff7c2; align-self: flex-start; border-top-left-radius: 3px; }
.bubble.agent b { display: block; font-size: .75rem; color: var(--red); margin-bottom: 2px; }
@keyframes arrive { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }

.hero-board .note { grid-column: 2; justify-self: end; margin-top: -4px; }

.ribbon {
  overflow: hidden; background: var(--red); color: var(--yellow);
  border-block: 3px solid var(--ink); transform: rotate(-1.2deg); margin: -14px -20px 0; position: relative; z-index: 2;
}
.ribbon-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.ribbon span { font-family: var(--brush); font-size: clamp(1.3rem, 2.4vw, 1.9rem); padding: 12px 0; white-space: nowrap; }
.ribbon span::after { content: ''; display: inline-block; width: .32em; height: .32em; margin: 0 .9em; border-radius: 50%; background: var(--white); vertical-align: middle; }
@keyframes slide { to { transform: translateX(-50%); } }

.pain-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); margin-top: 48px; align-items: start; }
.pain-q { display: flex; flex-direction: column; gap: 10px; }
.pain-q span {
  align-self: flex-start; background: #fff; padding: 10px 16px; border-radius: 14px; border-top-left-radius: 3px;
  font-weight: 650; font-size: clamp(1.05rem, 1.6vw, 1.3rem); box-shadow: 0 1px 1px rgb(0 0 0 / .1);
}
.pain-q span:nth-child(2) { margin-left: 8%; }
.pain-q span:nth-child(3) { margin-left: 3%; }
.pain-q span:nth-child(4) { margin-left: 14%; }
.pain-q span:nth-child(5) { margin-left: 6%; background: var(--yellow); }
.pain-a { display: flex; flex-direction: column; gap: 18px; font-size: 1.15rem; max-width: 46ch; }
.pain-a p:last-child { font-weight: 700; }

.how { padding-top: 24px; }
.steps {
  list-style: none; padding: 0; margin: 56px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.step {
  display: flex; flex-direction: column; gap: 12px;
  padding: 26px 24px 30px; border-radius: 4px; box-shadow: var(--shadow-paper);
}
.step:nth-child(odd) { transform: rotate(-1deg); }
.step:nth-child(even) { transform: rotate(1.2deg) translateY(18px); }
.step-n {
  font-weight: 900; font-variation-settings: 'wdth' 62; font-size: 6rem; line-height: .82;
  letter-spacing: -.04em; color: var(--ink);
}
.step h3 { font-family: var(--brush); font-weight: 400; font-size: 1.7rem; line-height: 1.02; }
.step p { font-size: .98rem; color: var(--ink); }

.demo {
  padding: clamp(72px, 9vw, 120px) var(--gutter);
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: center;
  margin-top: clamp(48px, 7vw, 96px);
}
.demo-head { display: flex; flex-direction: column; gap: 22px; max-width: 560px; justify-self: end; }
.demo-title { font-size: clamp(2.5rem, 5vw, 4.4rem); }
.seg { display: inline-flex; gap: 6px; padding: 5px; background: var(--ink); border-radius: 999px; align-self: flex-start; }
.seg button {
  font: inherit; font-weight: 800; font-variation-settings: 'wdth' 88; font-size: .98rem;
  min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--white); transition: background-color .2s, color .2s;
}
.seg button:hover { background: rgb(255 255 255 / .14); }
.seg button[aria-pressed='true'] { background: var(--yellow); color: var(--ink); }
.seg button:focus-visible { outline-color: var(--yellow); }

.demo-body { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start; max-width: 640px; }
.flow { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; position: relative; }
.flow::before {
  content: ''; position: absolute; left: 20px; top: 20px; bottom: 20px;
  border-left: 2px dashed var(--ink); opacity: .5;
}
.node {
  position: relative; display: flex; flex-direction: column; gap: 1px;
  padding: 12px 14px 12px 42px; background: var(--white); border-radius: 4px;
  box-shadow: 0 1px 1px rgb(20 20 20 / .1); opacity: .62;
  transition: opacity .3s, transform .45s var(--ease), box-shadow .3s, background-color .3s;
}
.node::before {
  content: ''; position: absolute; left: 14px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  border-radius: 50%; border: 2px solid var(--ink); background: var(--white);
}
.node.on { opacity: 1; transform: translateX(8px) rotate(-1.5deg); background: var(--pink); box-shadow: var(--shadow-paper); }
.node.on::before { background: var(--red); border-color: var(--red); }
.node.done { opacity: 1; }
.node.done::before { background: var(--ink); }
.node-kind { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.node-text { font-weight: 750; font-size: .98rem; line-height: 1.25; }

.sim {
  background: var(--chat); border: 3px solid var(--ink); border-radius: 26px; overflow: hidden;
  box-shadow: 0 2px 2px rgb(20 20 20 / .1), 0 28px 44px -20px rgb(20 20 20 / .45);
  display: flex; flex-direction: column;
}
.sim .phone-top { position: relative; }
.reset {
  margin-left: auto; display: grid; place-items: center; width: 44px; height: 44px;
  background: transparent; color: #fff; border: 0; border-radius: 50%; cursor: pointer;
}
.reset:hover { background: rgb(255 255 255 / .16); }
.reset:focus-visible { outline-color: #fff; }
.sim-chat { height: 340px; overflow-y: auto; scroll-behavior: smooth; }
.sim-chat .bubble { animation: arrive .45s var(--ease) both; }
.typing { display: inline-flex; gap: 4px; align-self: flex-start; background: #fff; padding: 12px 14px; border-radius: 12px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-soft); animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .25; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

.sim-replies { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px 16px; border-top: 2px solid rgb(20 20 20 / .1); background: #fff; min-height: 72px; }
.sim-replies button {
  font: inherit; font-weight: 700; font-size: .92rem; min-height: 44px; padding: 0 16px;
  border: 2px solid var(--green); color: var(--green-deep); background: #fff; border-radius: 999px; cursor: pointer;
  transition: background-color .2s, color .2s, transform .2s var(--ease);
}
.sim-replies button:hover { background: var(--green); color: #fff; transform: translateY(-1px); }
.sim-replies button:disabled { opacity: .4; cursor: default; transform: none; }
.sim-replies a.btn { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.demo-note { grid-column: 2; }

.shelf {
  list-style: none; padding: 0; margin: 56px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 3px solid var(--ink);
}
.label {
  padding: 26px 22px 30px 0; border-bottom: 2px solid var(--ink);
  display: flex; flex-direction: column; gap: 8px;
}
.label:not(:nth-child(4n)) { border-right: 2px solid var(--ink); }
.label:not(:nth-child(4n + 1)) { padding-left: 22px; }
.label h3 { font-weight: 850; font-variation-settings: 'wdth' 75; font-size: 1.35rem; line-height: 1.1; letter-spacing: -.01em; }
.label p { color: var(--ink-soft); font-size: .98rem; }
.label:nth-child(1) h3, .label:nth-child(7) h3 { color: var(--red); }

.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); padding-top: 0; }
.faq-list { border-top: 3px solid var(--ink); }
details { border-bottom: 2px solid var(--ink); }
summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  cursor: pointer; list-style: none; min-height: 64px; padding: 14px 0;
  font-weight: 800; font-size: 1.15rem; font-variation-settings: 'wdth' 85;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ''; flex: none; width: 14px; height: 14px;
  border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  transform: rotate(45deg) translateY(-4px); transition: transform .3s var(--ease);
}
details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
summary:hover { color: var(--red); }
details p { padding: 0 0 22px; max-width: 62ch; color: var(--ink-soft); }

.close {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px;
  padding: clamp(80px, 12vw, 160px) var(--gutter);
}
.close-title { font-size: clamp(3.2rem, 9vw, 6rem); }
.close .lede { color: var(--ink); }

.foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px;
  padding: 32px var(--gutter) 40px; background: var(--ink); color: var(--white); font-size: .92rem;
}
.foot .brand-mark { color: var(--lime); }
.foot .brand-mark rect { fill: var(--green); }
.foot-legal { flex-basis: 100%; color: rgb(253 253 251 / .66); font-size: .82rem; }

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy, .hero-board { justify-self: start; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .shelf { grid-template-columns: repeat(2, 1fr); }
  .label:not(:nth-child(4n)) { border-right: 0; }
  .label:not(:nth-child(4n + 1)) { padding-left: 0; }
  .label:nth-child(odd) { border-right: 2px solid var(--ink); }
  .label:nth-child(even) { padding-left: 22px; }
  .demo { grid-template-columns: 1fr; }
  .demo-head { justify-self: start; }
  .demo-note { grid-column: 1; }
}

@media (max-width: 760px) {
  .bar-nav { display: none; }
  .bar { justify-content: space-between; }
  .stamp { top: -46px; right: -6px; width: 72px; font-size: 1rem; }
  .hero-board { grid-template-columns: 1fr; }
  .tags { flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .tag { min-width: 0; padding: 10px 14px 10px 26px; }
  .tag-text { font-size: 1.1rem; }
  .string { display: none; }
  .hero-board .note { grid-column: 1; }
  .phone { transform: none; }
  .pain-grid, .faq { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step:nth-child(n) { transform: none; }
  .step-n { font-size: 4.5rem; }
  .shelf { grid-template-columns: 1fr; }
  .label:nth-child(n) { border-right: 0; padding-left: 0; padding-right: 0; }
  .demo-body { grid-template-columns: 1fr; }
  .flow { flex-direction: row; overflow-x: auto; gap: 10px; padding: 4px 4px 10px; margin: 0 -4px; }
  .flow::before { display: none; }
  .node { flex: none; padding: 8px 12px 8px 30px; }
  .node::before { left: 10px; width: 10px; height: 10px; margin-top: -5px; }
  .node.on { transform: rotate(-1.5deg); }
  .sim-chat { height: 320px; }
  .btn-sm span { display: none; }
  .btn-sm { width: 44px; padding: 0; }
  .btn-sm .ico { width: 1.5em; height: 1.5em; }
}

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