/* Homepage and illustrative application views. */
.product-hero {
  position: relative;
  isolation: isolate;
  color: var(--text);
  background:
    radial-gradient(ellipse at 91% 44%, #c7efed 0%, transparent 51%),
    linear-gradient(126deg, #f8fafc 8%, #eef5f9 100%);
  border-bottom: 1px solid var(--line);
}
.product-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 46%;
  content: "";
  background-image: linear-gradient(#377b8d19 1px, transparent 1px), linear-gradient(90deg, #377b8d19 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to right, transparent, #000 34%, #000 80%, transparent);
}
:root[data-theme=dark] .product-hero {
  background: radial-gradient(ellipse at 87% 33%, #153c48 0%, transparent 60%), linear-gradient(130deg, #0a1829, #10263a);
}
:root[data-theme=dark] .product-hero::before {
  background-image: linear-gradient(#a1dcd91a 1px, transparent 1px), linear-gradient(90deg, #a1dcd91a 1px, transparent 1px);
}
.product-hero .hero-grid {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4.6vw, 4.6rem);
  min-height: 0;
  padding-block: clamp(3.2rem, 6vw, 5.75rem);
}
.product-hero-copy { min-width: 0; }
.product-hero .eyebrow {
  color: var(--teal);
  font-size: .76rem;
  line-height: 1.5;
  letter-spacing: .105em;
  margin-bottom: 1rem;
}
.product-hero .eyebrow span { background: currentColor; }
.product-hero h1 {
  color: var(--text);
  font-size: clamp(2.55rem, 4.63vw, 4.8rem);
  font-weight: 800;
  line-height: 1.055;
  letter-spacing: -.062em;
  text-wrap: initial;
  margin-bottom: 1.15rem;
}
.product-hero h1 em { display: block; color: var(--teal); }
.product-hero .lead {
  max-width: 36rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.65;
  margin-bottom: 0;
}
.product-hero .actions { margin-top: 1.65rem; gap: .7rem; }
.product-hero .actions .primary {
  background: #006b62;
  border-color: #006b62;
  color: #fff;
}
.product-hero .actions .primary:hover { background: #00544d; border-color: #00544d; }
.product-hero .actions .secondary { background: var(--paper); border-color: var(--line); color: var(--text); }
.product-hero .actions .secondary:hover { background: var(--soft); }
:root[data-theme=dark] .product-hero .actions .primary { color: #062b29; background: #70e4d2; border-color: #70e4d2; }
:root[data-theme=dark] .product-hero .actions .primary:hover { background: #a2f1e5; border-color: #a2f1e5; }
.product-hero .button svg, .product-cta .button svg { margin-inline-start: .55rem; }
.product-arrow { width: 1.05em; height: 1.05em; flex: 0 0 auto; }
.product-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: .48rem;
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
}
.product-text-link:hover { text-decoration: underline; }
.hero-workflow-link { margin-top: .5rem; }
.product-preview {
  --preview-text: #122d45;
  --preview-muted: #4d6274;
  --preview-line: #dbe6ec;
  --preview-paper: #fff;
  --preview-bg: #f6f9fb;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #bbd4dd;
  border-radius: 20px;
  color: var(--preview-text);
  background: var(--preview-bg);
  box-shadow: 0 27px 64px #1c5b7029, 0 4px 14px #133b4510;
}
:root[data-theme=dark] .product-preview {
  --preview-text: #e8f4fa;
  --preview-muted: #a6c1ce;
  --preview-line: #355062;
  --preview-paper: #142c40;
  --preview-bg: #102337;
  border-color: #496374;
  box-shadow: 0 24px 65px #030c16a0;
}
.product-preview-bar {
  display: grid;
  grid-template-columns: 1fr minmax(0, auto) 1fr;
  align-items: center;
  min-height: 49px;
  padding-inline: clamp(.65rem, 1.4vw, 1rem);
  border-bottom: 1px solid var(--preview-line);
  background: var(--preview-paper);
  color: var(--preview-muted);
  font-size: .74rem;
  font-weight: 800;
  text-align: center;
  gap: .4rem;
}
.preview-window { display: flex; gap: 4px; }
.preview-window i { display: block; width: 7px; height: 7px; background: #a7c0cd; border-radius: 50%; }
.product-preview-inner { display: grid; grid-template-columns: 52px minmax(0, 1fr); }
.product-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .64rem;
  padding-block: .85rem;
  background: #102a43;
  color: #a8c8d7;
}
.product-rail img { margin-bottom: .45rem; border-radius: 8px; }
.product-rail span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; }
.product-rail .rail-active { background: #24516a; color: #a9fff0; }
.product-rail svg { width: 18px; height: 18px; }
.product-preview .product-preview-main { padding: clamp(.8rem, 2.35vw, 1.55rem); }
.product-preview-title { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.product-preview-title h2 { margin: 0; color: var(--preview-text); font-size: clamp(1.12rem, 1.65vw, 1.62rem); letter-spacing: -.035em; }
.product-preview-title > span { display: inline-flex; align-items: center; gap: .32rem; color: var(--preview-muted); font-size: .75rem; font-weight: 750; }
.product-preview-title svg { width: 15px; height: 15px; }
.product-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin: 0 0 .75rem; }
.product-metrics div {
  padding: .65rem clamp(.45rem, 1vw, .75rem);
  min-width: 0;
  border: 1px solid var(--preview-line);
  border-radius: 10px;
  background: var(--preview-paper);
  color: var(--preview-text);
}
.product-metrics svg { display: block; width: 17px; height: 17px; color: var(--teal); margin-bottom: .42rem; }
.product-metrics dt { color: var(--preview-muted); font-size: .71rem; font-weight: 750; line-height: 1.3; }
.product-metrics dd { margin: .17rem 0 0; font-size: 1.45rem; line-height: 1.2; font-weight: 800; font-variant-numeric: tabular-nums; }
.product-orders { overflow: hidden; border: 1px solid var(--preview-line); border-radius: 11px; background: var(--preview-paper); }
.product-orders-title { display: flex; justify-content: space-between; align-items: baseline; gap: .35rem; padding: .63rem .68rem; }
.product-orders-title h3 { margin: 0; color: var(--preview-text); font-size: .87rem; letter-spacing: 0; }
.product-orders-title > span { color: var(--preview-muted); font-size: .70rem; }
.product-preview .product-orders table { min-width: 0; width: 100%; border: 0; border-radius: 0; table-layout: auto; background: transparent; font-size: .73rem; }
.product-preview .product-orders :is(td,th) { padding: .42rem .64rem; color: var(--preview-text); border: 0; border-top: 1px solid var(--preview-line); }
.product-preview thead { background: var(--preview-bg); }
.product-preview .product-orders thead th { color: var(--preview-muted); font-weight: 700; }
.product-preview .product-orders tbody tr.product-selected-order { background: var(--soft); }
.product-preview .product-orders tbody tr th { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sample-pill {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  padding: .13rem .41rem;
  border-radius: 6px;
  color: #3f5568;
  background: #e8eff4;
  font-size: .68rem;
  line-height: 1.35;
  font-weight: 800;
}
.sample-pill i { background: currentColor; width: 5px; height: 5px; border-radius: 50%; flex: none; }
.sample-pill--intake { background: #ebeff5; color: #344b64; }
.sample-pill--label { background: #ebeafa; color: #51438a; }
.sample-pill--wash { background: #fff0d6; color: #714c00; }
.sample-pill--deliver { background: #dcf3e9; color: #145b42; }
:root[data-theme=dark] .sample-pill--intake { background: #273b4e; color: #d0e3f2; }
:root[data-theme=dark] .sample-pill--label { background: #40365c; color: #e4d5ff; }
:root[data-theme=dark] .sample-pill--wash { background: #54401d; color: #ffe0a3; }
:root[data-theme=dark] .sample-pill--deliver { background: #1c483d; color: #abebcd; }
.product-preview small.preview-step { display: block; margin-top: .68rem; color: var(--preview-muted); font-size: .74rem; }
.product-preview .home-demo-link { min-height: 36px; margin-top: .1rem; font-size: .875rem; }
.product-preview .home-demo-link .product-arrow { width: 15px; height: 15px; }
.product-features { padding-block: clamp(2.85rem, 5.6vw, 5.4rem); }
.product-features .eyebrow, .product-process .eyebrow, .product-packages .eyebrow, .product-solutions .eyebrow { margin-bottom: .57rem; }
.product-features .section-head { align-items: center; }
.product-features h2, .product-process h2, .product-packages h2, .product-solutions h2 { margin-bottom: .2rem; }
.product-example-note { margin: .32rem 0 1.35rem; font-size: .9rem; }
.product-features-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.product-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 235px;
  gap: 1rem;
  color: var(--text);
  text-decoration: none;
}
.product-feature:hover { border-color: var(--teal); }
.product-feature .icon-tile { margin-bottom: .65rem; }
.product-feature h3 { margin-bottom: .38rem; font-size: 1.2rem; }
.product-feature p { margin-bottom: 0; font-size: .9rem; max-width: 32ch; }
.product-feature-arrow {
  position: absolute;
  display: grid;
  place-items: center;
  right: .9rem;
  top: .9rem;
  width: 32px;
  height: 32px;
  background: var(--bg);
  color: var(--teal);
  border-radius: 8px;
}
.feature-panel {
  margin: 0;
  padding: .56rem .72rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: var(--bg);
  font-size: .77rem;
  line-height: 1.35;
}
.feature-panel small { display: block; color: var(--muted); font-size: .7rem; margin-top: .2rem; }
.mini-customer, .mini-label { display: flex; gap: .65rem; align-items: center; min-height: 62px; }
.mini-avatar { display: grid; place-items: center; border-radius: 10px; width: 35px; height: 35px; color: var(--teal); background: var(--soft); font-weight: 800; }
.mini-label img { width: 45px; height: 45px; background: #fff; border-radius: 4px; }
.mini-route { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .25rem; padding-block: .69rem; text-align: center; }
.mini-route span { position: relative; display: grid; gap: .34rem; justify-items: center; white-space: nowrap; }
.mini-route span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--teal); background: var(--paper); }
.mini-route span + span::after { position: absolute; content: ""; right: calc(50% + 6px); width: calc(100% - 8px); height: 1px; top: 4px; background: var(--teal); }
.product-process { border-block: 1px solid var(--line); background: var(--surface-tint); scroll-margin-top: 5rem; }
.product-process .section { padding-block: clamp(2.75rem, 4.5vw, 4.5rem); }
.product-section-summary { max-width: 56ch; margin: .52rem 0 1.32rem; }
.product-stage-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: .62rem;
  padding: 0;
  margin: 0 0 .85rem;
  list-style: none;
}
.product-stage-steps button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: .62rem;
  min-height: 57px;
  padding: .45rem .61rem;
  text-align: start;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--text);
  font-size: .91rem;
  font-weight: 800;
}
.product-stage-steps button:hover, .product-stage-steps button[aria-pressed=true] { border-color: var(--teal); }
.product-stage-steps button[aria-pressed=true] { background: var(--soft); color: var(--teal); }
.product-stage-steps .icon-tile { width: 32px; height: 32px; margin: 0; border-radius: 8px; flex: none; }
.product-stage-steps .icon-tile svg { width: 18px; height: 18px; }
.product-stage-steps .product-arrow { margin-inline-start: auto; }
.product-stage-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(1rem, 4vw, 4.5rem);
  padding: clamp(1rem, 3vw, 2.3rem);
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.product-stage-panel h3 { margin-bottom: .47rem; font-size: clamp(1.17rem, 2vw, 1.68rem); }
.product-stage-panel p { margin: 0; }
.product-stage-example { min-width: 0; padding: .85rem; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.product-stage-order { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 800; }
.product-stage-order > span:first-child { display: inline-flex; gap: .35rem; align-items: center; }
.product-stage-order .icon { width: 18px; height: 18px; color: var(--teal); }
.product-stage-example dl { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .5rem; margin: .64rem 0 0; padding-top: .58rem; border-top: 1px solid var(--line); }
.product-stage-example dt { font-size: .73rem; color: var(--muted); }
.product-stage-example dd { margin: 0; font-size: .8rem; color: var(--text); font-weight: 800; overflow-wrap: anywhere; }
.product-process [data-slot=campaigns]:empty, .product-integrations [data-slot=references]:empty { display: none; }
.product-process [data-slot=campaigns]:not(:empty), .product-integrations [data-slot=references]:not(:empty) { margin-top: 1.5rem; }
.product-packages, .product-solutions, .product-integrations, .product-price, .product-faq, .product-cta-section { padding-block: clamp(2.4rem, 4.2vw, 4.4rem); }
.product-packages + .product-solutions, .product-solutions + .product-integrations, .product-integrations + .product-price { padding-top: .35rem; }
.product-solutions .feature-grid { margin-top: 1rem; }
.product-solutions .card-link {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: .65rem;
  align-items: center;
}
.product-solutions .card-link .icon-tile { margin: 0; }
.product-solutions .card-link span:last-child { display: grid; place-items: center; color: var(--teal); }
.product-integrations .split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 1rem; }
.product-integrations .split h2, .product-price .split h2 { font-size: clamp(1.4rem, 2.2vw, 2.1rem); }
.product-integrations .card p { max-width: 49ch; }
.product-integrations .product-text-link { margin-inline-start: .55rem; }
.product-price .split { display: grid; grid-template-columns: auto 1fr 1fr; align-items: center; padding: clamp(1rem, 2.5vw, 1.8rem); border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.product-price .icon-tile, .product-price h2 { margin: 0; }
.product-price .split p { margin-bottom: .5rem; }
.product-faq .faq { max-width: unset; }
.product-cta-section { padding-top: 1rem; }
.product-cta {
  background: radial-gradient(ellipse at 90% 10%, #235b67, transparent 70%), #102a43;
  border-radius: 20px;
  padding: clamp(1.3rem, 3.7vw, 3.5rem);
}
.product-cta h2 { font-size: clamp(1.5rem, 3.4vw, 3.05rem); margin-bottom: .4rem; color: #f4fcff; }
.product-cta p { margin: 0; color: #d4e7ee; }
.product-cta .primary { flex: none; color: #112e32; background: #77e7d7; }
.product-cta .primary:hover { background: #a6f2e5; }

@media (max-width: 980px) {
  .product-hero .hero-grid { gap: 1.65rem; }
  .product-preview .product-orders :is(td,th) { padding-inline: .45rem; }
}
@media (max-width: 800px) {
  .product-hero .hero-grid { grid-template-columns: 1fr; padding-block: 2.4rem 2.8rem; }
  .product-hero h1 { font-size: clamp(2.55rem, 6.35vw, 4.45rem); }
  .product-hero .lead { max-width: 35rem; }
  .product-hero::before { inset: 42% 0 0; }
  .product-hero .product-preview { width: min(100%, 650px); }
  .product-stage-panel { gap: .85rem; }
}
@media (max-width: 560px) {
  .product-hero .hero-grid { gap: 1.28rem; padding-block: 1.9rem 2rem; }
  .product-hero .eyebrow { margin-bottom: .7rem; font-size: .66rem; }
  .product-hero h1 { margin-bottom: .76rem; }
  .product-hero .actions { margin-top: 1.05rem; }
  .product-hero .actions .button { font-size: .84rem; padding-inline: .75rem; min-height: 44px; }
  .hero-workflow-link { margin-top: .19rem; }
  .product-preview { border-radius: 15px; }
  .product-preview-inner { grid-template-columns: 1fr; }
  .product-rail { display: none; }
  .product-preview-bar { min-height: 42px; font-size: .66rem; gap: .3rem; }
  .preview-window i { width: 5px; height: 5px; }
  .product-preview .product-preview-main { padding: .68rem; }
  .product-preview-title { margin-bottom: .56rem; }
  .product-metrics { gap: .33rem; margin-bottom: .52rem; }
  .product-metrics div { padding: .48rem .38rem; }
  .product-metrics dt { font-size: .67rem; }
  .product-preview-title > span, .product-orders-title > span { font-size: .66rem; }
  .product-preview .product-orders :is(td,th) { padding-inline: .34rem; }
  .product-orders-title { padding-inline: .41rem; }
  .product-features .section-head { align-items: flex-start; }
  .product-features .section-head a { min-height: 37px; }
  .product-features-grid, .product-stage-panel, .product-integrations .split, .product-price .split { grid-template-columns: 1fr; }
  .product-feature { min-height: auto; }
  .product-stage-steps { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .45rem; }
  .product-stage-steps button { min-height: 50px; gap: .35rem; font-size: .81rem; }
  .product-stage-steps .product-arrow { display: none; }
  .product-stage-steps .icon-tile { width: 28px; height: 28px; }
  .product-integrations .product-text-link { margin-inline-start: 0; display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  .product-preview *, .product-feature, .product-stage-steps button { animation: none; transition: none; }
}
