/* What We Build: three card visuals styled as real application screens (no window dots, no illustration chrome).
   Designed on a 420x252 artboard; preview.js scales it to the card. */
.pv-in .pv-tag {
  left: 12px;
  bottom: 6px;
  font: 500 9.5px var(--f-mono);
  padding: 2px 9px;
  letter-spacing: 0.02em;
}
.pv-in {
  font-family: var(--f-ui);
}
.pv-in p,
.pv-in h6,
.pv-in ul {
  margin: 0;
}
.pv-in ul {
  list-style: none;
  padding: 0;
}
.pv-in i,
.pv-in em,
.pv-in u {
  font-style: normal;
  text-decoration: none;
}
/* 1) Hoyva's own website in a browser window */
.br {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 400px;
  height: 214px;
  background: #fff;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid #d8d3c6;
  box-shadow: 0 14px 26px -10px rgba(28, 31, 34, 0.45);
}
.br-tabs {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 22px;
  padding: 5px 8px 0;
  background: #e8e5dd;
}
.br-tabs .tab {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 17px;
  max-width: 190px;
  padding: 0 8px;
  background: #fff;
  border-radius: 6px 6px 0 0;
  font-size: 7px;
  color: #1c1f22;
}
.br-tabs .tab img {
  width: 10px;
  height: 10px;
  flex: none;
}
.br-tabs .tab b {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.br-tabs .tab i {
  margin-left: auto;
  color: #8a8f94;
  font-size: 9px;
}
.br-tabs .plus {
  font-size: 11px;
  color: #6b6f73;
  padding: 0 6px 2px;
}
.br-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 20px;
  padding: 0 8px;
  background: #fff;
  border-bottom: 1px solid #e6e3da;
}
.br-bar .ctl {
  font-size: 9px;
  color: #6b6f73;
  letter-spacing: 0.02em;
}
.br-bar .addr {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 5px;
  height: 14px;
  padding: 0 9px;
  background: #f1efe9;
  border-radius: 99px;
  font-size: 7.5px;
  color: #1c1f22;
}
.br-bar .addr svg {
  width: 8px;
  height: 8px;
  fill: none;
  stroke: #6b6f73;
  stroke-width: 2;
}
.br-bar .mn {
  font-size: 10px;
  color: #6b6f73;
}
.br-view {
  height: calc(100% - 42px);
  overflow: hidden;
  background: #fafaf8;
}
.br-view img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}
/* 2) AI assistant: conversation, workflow steps, automation activity */
.as {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 400px;
  height: 214px;
  display: grid;
  grid-template-columns: 74px 1fr 118px;
  background: #fff;
  border: 1px solid #d8d3c6;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 14px 26px -10px rgba(28, 31, 34, 0.45);
}
.as > aside {
  background: #f6f4ee;
  border-right: 1px solid #ece8dd;
  padding: 8px 6px;
}
.as .lg img {
  display: block;
  width: 30px;
  height: 30px;
  margin: 0 0 6px 2px;
  mix-blend-mode: multiply;
}
.as > aside p {
  font-size: 7.5px;
  color: #464b50;
  padding: 5px 7px;
  border-radius: 6px;
}
.as > aside p.on {
  background: #fff;
  color: #1c1f22;
  font-weight: 600;
  box-shadow: 0 0 0 1px #e9e3d4;
}
.chat {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.chat header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 10px;
  border-bottom: 1px solid #efece3;
}
.chat header b {
  font: 600 8.5px var(--f-display);
}
.chat header em {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 6.5px;
  color: #1e8e5a;
}
.chat header i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2fbf71;
}
.msgs {
  flex: 1;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}
.msgs .u {
  align-self: flex-end;
  max-width: 82%;
  background: #1c1f22;
  color: #fff;
  font-size: 7px;
  line-height: 1.4;
  padding: 6px 8px;
  border-radius: 9px 9px 2px 9px;
}
.msgs .a {
  max-width: 94%;
  background: #fbf4e4;
  border-radius: 9px 9px 9px 2px;
  padding: 7px 8px;
}
.msgs .a > p {
  font-size: 7px;
  line-height: 1.4;
  margin-bottom: 5px;
}
.msgs .a li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  background: #fff;
  border: 1px solid #efe6d0;
  border-radius: 6px;
  padding: 4px 6px;
  margin-bottom: 3px;
  font-size: 6.8px;
}
.msgs .a li b {
  font-weight: 500;
}
.hi,
.md {
  font-size: 6px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 99px;
}
.hi {
  background: #fde3e0;
  color: #b3261e;
}
.md {
  background: #fff1d6;
  color: #a8680a;
}
.act {
  display: flex;
  gap: 4px;
  margin-top: 5px;
}
.act i {
  font-size: 6.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 99px;
  background: var(--grad-gold);
  color: #1c1f22;
}
.act i + i {
  background: #fff;
  border: 1px solid #d9c9a0;
  font-weight: 500;
}
.inp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 10px 8px;
  padding: 5px 5px 5px 9px;
  border: 1px solid #e3ddd0;
  border-radius: 8px;
  font-size: 7px;
  color: #8a8f94;
}
.inp u {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #1c1f22;
  color: #f2cc7a;
  display: grid;
  place-items: center;
  font-size: 8px;
}
.runs {
  background: #fcfbf8;
  border-left: 1px solid #ece8dd;
  padding: 9px 9px;
}
.runs h6 {
  font: 600 6.5px var(--f-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8f94;
  margin-bottom: 8px;
}
.runs p {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}
.runs i {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid #d3ccbc;
  position: relative;
  margin-top: 1px;
}
.runs p.d i {
  background: #1e8e5a;
  border-color: #1e8e5a;
}
.runs p.d i::after {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 4px;
  height: 2px;
  border-left: 1.3px solid #fff;
  border-bottom: 1.3px solid #fff;
  transform: rotate(-45deg);
}
.runs p.n i {
  border-color: #e7d3a8;
  border-top-color: #c8913a;
  animation: spin 0.8s linear infinite;
}
.runs b {
  display: block;
  font-size: 7px;
  font-weight: 600;
}
.runs small {
  font-size: 6px;
  color: #8a8f94;
}
/* 3) Analytics dashboard: filters, KPIs, chart, insights, data table */
.an {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 400px;
  height: 214px;
  background: #f6f5f1;
  border: 1px solid #d8d3c6;
  border-radius: 9px;
  overflow: hidden;
  padding: 8px 10px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 6px;
  box-shadow: 0 14px 26px -10px rgba(28, 31, 34, 0.45);
}
.an header {
  display: flex;
  align-items: center;
  gap: 6px;
}
.an header b {
  flex: 1;
  font: 600 9px var(--f-display);
}
.flt {
  font-size: 6.5px;
  color: #464b50;
  background: #fff;
  border: 1px solid #e0dccf;
  border-radius: 99px;
  padding: 2px 8px;
}
.kp {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}
.kp > div {
  background: #fff;
  border: 1px solid #e8e4d8;
  border-radius: 6px;
  padding: 4px 7px;
}
.kp small {
  display: block;
  font-size: 5.8px;
  color: #8a8f94;
}
.kp b {
  display: block;
  font: 600 11px var(--f-display);
}
.kp em {
  font-size: 5.8px;
  color: #1e8e5a;
}
.mid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 5px;
  min-height: 0;
}
.ch,
.ins {
  background: #fff;
  border: 1px solid #e8e4d8;
  border-radius: 6px;
  padding: 4px 7px;
  min-height: 0;
}
.an h6 {
  font: 600 6.5px var(--f-ui);
  display: flex;
  justify-content: space-between;
  margin-bottom: 2px;
}
.an h6 span {
  font-weight: 400;
  color: #6b6f73;
  font-size: 5.6px;
}
.an h6 i {
  display: inline-block;
  width: 7px;
  height: 2px;
  margin: 0 2px 1px 5px;
  vertical-align: middle;
}
.an h6 i.a {
  background: #c8913a;
}
.an h6 i.p {
  background: #1f8f85;
}
.ch svg {
  display: block;
  width: 100%;
  height: auto;
}
.ch .band {
  fill: rgba(31, 143, 133, 0.14);
}
.ch path {
  fill: none;
}
.ch .ar {
  stroke: #c8913a;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1;
  animation: draw 6s infinite;
}
.ch .pr {
  stroke: #1f8f85;
  stroke-width: 2;
  stroke-dasharray: 4 3;
  animation: fadeIn 6s infinite;
}
.ch .band {
  animation: fadeIn 6s infinite;
}
.ins p {
  font-size: 6.3px;
  line-height: 1.4;
  color: #464b50;
  margin-bottom: 4px;
  padding-left: 7px;
  position: relative;
}
.ins p::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #c8913a;
}
.tb {
  background: #fff;
  border: 1px solid #e8e4d8;
  border-radius: 6px;
  padding: 1px 7px;
}
.tb p {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 0.8fr;
  font-size: 6.2px;
  padding: 2.5px 0;
  border-top: 1px solid #f0ede4;
}
.tb p.h {
  border-top: 0;
  font-size: 5.6px;
  color: #8a8f94;
}
.tb em {
  font-weight: 600;
}
.tb .g {
  color: #1e8e5a;
}
.tb .r {
  color: #b3261e;
}
@media (prefers-reduced-motion: reduce) {
  .runs p.n i,
  .ch .ar,
  .ch .pr,
  .ch .band {
    animation: none !important;
    opacity: 1;
    stroke-dashoffset: 0;
  }
}
/* artboard is 420x272: taller windows, caption strip at the bottom */
.pv-in {
  height: 272px;
}
.br {
  top: 7px;
  height: 258px;
}
.br-view {
  height: calc(100% - 42px);
}
.br-view img {
  object-position: top left;
}
.as,
.an {
  top: 8px;
  height: 236px;
}
.an {
  gap: 7px;
}
.tb p {
  padding: 3px 0;
}
.pv.real .pv-tag,
.pv-in .pv-tag.top {
  left: auto;
  right: 16px;
  top: 11px;
  bottom: auto;
}
.ch svg {
  height: 56px;
}
.an .kp > div {
  padding: 3px 7px;
}
.ins p {
  margin-bottom: 3px;
}
/* ---- Final refinements: one shared frame for all three visuals, larger text in the AI and analytics screens ---- */
.br,
.as,
.an {
  left: 10px;
  top: 8px;
  width: 400px;
  height: 236px;
  border: 1px solid #d8d3c6;
  border-radius: 9px;
  box-shadow: 0 14px 26px -10px rgba(28, 31, 34, 0.45);
}
.pv-in .pv-tag,
.pv.real .pv-tag {
  left: 12px;
  right: auto;
  top: auto;
  bottom: 6px;
  font: 500 9.5px var(--f-mono);
  padding: 2px 9px;
}
.br-tabs {
  height: 21px;
}
.br-bar {
  height: 19px;
}
.br-view {
  height: calc(100% - 40px);
}
/* AI assistant */
.as {
  grid-template-columns: 72px 1fr 124px;
}
.as .lg img {
  width: 32px;
  height: 32px;
}
.as > aside p {
  font-size: 8.6px;
  padding: 5px 7px;
}
.chat header b {
  font-size: 10.5px;
}
.chat header em {
  font-size: 7.6px;
}
.msgs {
  gap: 7px;
  padding: 9px 10px;
}
.msgs .u {
  font-size: 8.4px;
  padding: 6px 9px;
}
.msgs .a > p {
  font-size: 8.4px;
  margin-bottom: 6px;
}
.msgs .a li {
  font-size: 8px;
  padding: 4px 7px;
  margin-bottom: 4px;
}
.hi,
.md {
  font-size: 7px;
  padding: 1px 7px;
}
.act i {
  font-size: 7.6px;
  padding: 3px 9px;
}
.inp {
  font-size: 8.4px;
  margin-bottom: 9px;
}
.inp u {
  width: 16px;
  height: 16px;
  font-size: 9px;
}
.runs h6 {
  font-size: 7.4px;
  margin-bottom: 9px;
}
.runs p {
  margin-bottom: 10px;
}
.runs i {
  width: 11px;
  height: 11px;
}
.runs b {
  font-size: 8.4px;
}
.runs small {
  font-size: 7.2px;
}
/* analytics dashboard */
.an {
  padding: 8px 10px;
  gap: 6px;
}
.an header b {
  font-size: 10.8px;
}
.flt {
  font-size: 7.6px;
  padding: 2px 9px;
}
.kp small {
  font-size: 7px;
}
.kp b {
  font-size: 12.5px;
}
.kp em {
  font-size: 7px;
}
.kp > div {
  padding: 3px 8px;
}
.an h6 {
  font-size: 7.6px;
}
.an h6 span {
  font-size: 6.8px;
}
.ch svg {
  height: 50px;
}
.ins p {
  font-size: 7.6px;
  line-height: 1.35;
  margin-bottom: 3px;
  padding-left: 8px;
}
.tb p {
  font-size: 7.2px;
  padding: 2.5px 0;
}
.tb p.h {
  font-size: 6.8px;
}
.an .tb {
  display: block;
}
.an .ch svg {
  height: 42px;
}
.an {
  gap: 5px;
}
.msgs {
  gap: 6px;
  padding: 8px 10px;
}
.msgs .a {
  padding: 6px 8px;
}
.msgs .a li {
  margin-bottom: 3px;
}
.act {
  margin-top: 4px;
}
.as {
  grid-template-rows: minmax(0, 1fr);
}
.chat {
  min-height: 0;
}
.msgs {
  min-height: 0;
}
.an .tb p {
  color: #464b50;
  font-size: 7.2px;
  line-height: 1.3;
}
.an .tb p span {
  display: block;
  color: #464b50;
  font-size: 7.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.an .tb p.h {
  display: grid;
}
.an .tb p.h span {
  color: #8a8f94;
  font-size: 6.8px;
}
.an .tb p em {
  font-size: 7.2px;
}
.an .tb {
  padding: 1px 8px;
}
.msgs .a {
  padding: 6px 8px;
}
.msgs {
  gap: 6px;
}
/* phone mockup: status-bar and home-bar zones so the page screenshot sits inside the screen (the notch no longer covers the logo; the bottom ends cleanly) */
