/* Onsites homepage hero (muji accents over style.css) */
@charset "UTF-8";

.hero{
  padding-top: 76px;
  /* warm canvas: replaces the blue radial from style.css */
  background:
    radial-gradient(900px 480px at 50% -8%, rgba(158,126,94,.10), transparent 60%),
    var(--bg);
}

/* —— Layered hero backdrop: drifting glow blobs + dot grid + noise —— */
.hero-backdrop{
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* two soft color blobs that slowly drift (Linear-style) */
.hero-backdrop__blob{
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
}
.hero-backdrop__blob--a{
  top: -220px;
  left: 6%;
  background: radial-gradient(closest-side, rgba(158,126,94,.34), transparent 72%);
  animation: blob-drift-a 26s ease-in-out infinite alternate;
}
.hero-backdrop__blob--b{
  top: -140px;
  right: 4%;
  background: radial-gradient(closest-side, rgba(96,124,168,.26), transparent 72%);
  animation: blob-drift-b 32s ease-in-out infinite alternate;
}
@keyframes blob-drift-a{
  from{ transform: translate(0,0) scale(1) }
  to{ transform: translate(120px, 60px) scale(1.15) }
}
@keyframes blob-drift-b{
  from{ transform: translate(0,0) scale(1.1) }
  to{ transform: translate(-140px, 80px) scale(1) }
}
@media (prefers-reduced-motion: reduce){
  .hero-backdrop__blob{ animation: none }
}

/* dot grid, masked so it fades toward the bottom */
.hero-backdrop__dots{
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(38,36,31,.13) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.35) 62%, transparent 92%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.35) 62%, transparent 92%);
}

/* film-grain noise so gradients don't band */
.hero-backdrop__noise{
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}

/* warm glow behind the hero copy, ties text to the demo below */
.hero-inner{
  position: relative;
}
.hero-inner::before{
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: min(880px, 92%);
  height: 420px;
  background: radial-gradient(closest-side, rgba(158,126,94,.14), rgba(107,87,68,.06) 55%, transparent 75%);
  filter: blur(6px);
  pointer-events: none;
  z-index: 0;
}
.hero-inner > *{
  position: relative;
  z-index: 1;
}

.hero::before,
.hero::after{
  display: none;
}

.hero-note .pill-chip{
  background: #111111;
  color: #fff;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 3px 8px;
}
.hero-note .pill-chip.free{
  background: #111111;
}

.hero h1{
  color: #26241f;
}

.hero h1 .grad{
  background: linear-gradient(115deg,#6b5744 0%,#846a52 52%,#a28267 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero .lead{
  color: #57544e;
}

/* —— Intercom-style hero type: big, tight, quiet surroundings —— */
.hero-h1{
  font-size: clamp(40px, 5.2vw, 68px);
  letter-spacing: -.045em;
  line-height: 1.05;
  color: #1c1a17;
  max-width: 900px;
}
.hero-h1 .grad{
  background: linear-gradient(115deg,#3d352c 0%,#5c5142 52%,#7d6d58 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* quiet secondary CTA: plain text link with sliding arrow */
.cta-quiet{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15.5px;
  font-weight: 600;
  color: #57544e;
  padding: 14px 6px;
}
.cta-quiet:hover{ color: #1c1a17 }
.cta-quiet .arr{ transition: transform .18s ease; color: #8a857c }
.cta-quiet:hover .arr{ transform: translateX(3px); color: #1c1a17 }

/* trust line: bare text with soft separators */
.hero-trust{
  color: #8a857c;
  font-size: 13.5px;
  font-weight: 500;
  gap: 10px;
}
.hero-trust .dot{ color: #c9c4bc; margin: 0 4px }

.ds-cta .btn-primary{
  background: #111111;
}
.ds-cta .btn-primary:hover,
.ds-cta .btn-primary:focus-visible{
  background: #2e2e2e;
  box-shadow: 0 12px 28px -14px rgba(0,0,0,.5);
}

/* —— Hero side floats: glass product-event cards along both flanks —— */
.hero-side{
  position: absolute;
  top: 190px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  pointer-events: none;
  z-index: 1;
}
.hero-side--left{
  left: max(12px, calc(50% - 640px));
}
.hero-side--right{
  right: max(12px, calc(50% - 640px));
  top: 240px;
}
.hero-side__card{
  display: flex;
  align-items: center;
  gap: 10px;
  width: 228px;
  padding: 12px 14px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.6) inset, 0 12px 28px -18px rgba(38,36,31,.28);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  font-size: 12.5px;
  font-weight: 550;
  color: #57544e;
  line-height: 1.45;
  animation: hero-side-float 7s ease-in-out infinite;
}
.hero-side__card:nth-child(2){ animation-delay: -2.4s }
.hero-side__card:nth-child(3){ animation-delay: -4.8s }
.hero-side--right .hero-side__card:nth-child(2){ animation-delay: -3.6s }

@keyframes hero-side-float{
  0%, 100%{ transform: translateY(0) }
  50%{ transform: translateY(-7px) }
}
@media (prefers-reduced-motion: reduce){
  .hero-side__card{ animation: none }
}

.hero-side__card .ico{
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
}
.hero-side__card .ico svg{ display: block }
.hero-side__card .t{ min-width: 0 }
.hero-side__card .t b{
  display: block;
  font-size: 12.5px;
  font-weight: 650;
  color: #26241f;
  letter-spacing: -.01em;
}
.hero-side__card .t small{
  display: block;
  font-size: 11.5px;
  color: #8a857c;
  margin-top: 1px;
}

/* soften: hide flanks on narrow screens where they'd overlap the copy */
@media (max-width: 1280px){
  .hero-side{ display: none }
}

/* —— Problem trio: three columns in one row —— */
.problem-row3{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 44px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.p3{
  padding: 30px 28px 34px;
}
.p3 + .p3{
  border-left: 1px solid var(--line);
}
.p3__top{
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 12px;
}
.p3__num{
  font-family: var(--display);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .08em;
  color: var(--brand);
}
.p3 h3{
  margin: 0;
  font-size: 20px;
  letter-spacing: -.02em;
}
.p3__pain{
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}
.p3__fix{
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink);
}
.p3__fix .arr{
  color: var(--brand);
  font-weight: 700;
  flex-shrink: 0;
  transition: transform .2s;
}
.p3:hover .p3__fix .arr{ transform: translateX(3px) }
.p3__fix b{
  color: var(--brand-ink);
  font-weight: 650;
}
@media (max-width: 960px){
  .problem-row3{ grid-template-columns: 1fr }
  .p3 + .p3{ border-left: none; border-top: 1px solid var(--line) }
}

/* —— Integration wall: uniform tiles, one flat grid —— */
.int-wall{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 44px;
}
.int-tile{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 12px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-sm);
  text-align: center;
  font-size: 13px;
  font-weight: 550;
  color: var(--ink);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.int-tile:hover{
  border-color: rgba(77,107,254,.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.int-tile svg{
  width: 26px;
  height: 26px;
}
.int-tile .soon{
  font-style: normal;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #b45309;
  background: var(--amber-soft);
  border-radius: var(--radius-pill);
  padding: 2px 6px;
  margin-left: 4px;
}
@media (max-width: 960px){
  .int-wall{ margin-top: 36px }
}

/* —— One-record flow: connector arrows between nodes (desktop) —— */
.hp-flow .node{ position: relative }
.hp-flow .node:not(:last-child)::after{
  content: "";
  position: absolute;
  right: -14px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234d6bfe' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: .85;
}
@media (max-width: 1020px){
  .hp-flow .node::after{ display: none }
}

/* —— Integration wall: chips in a soft panel —— */
.hp-ints{
  max-width: 960px;
  margin: 0 auto;
  padding: 30px 26px;
  background: rgba(255,255,255,.55);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}
