/* Customer.io platform composition, using the shared QOTG design tokens. */
.qotg-sol-hero { padding-block:88px 104px; }
.qotg-sol-hero-grid { display:grid; grid-template-columns:1.2fr 1fr; align-items:center; gap:72px; min-height:416px; }
.qotg-sol-hero h1 { font-size:var(--wp--preset--font-size--solution-display); line-height:1.08; letter-spacing:-.035em; }
.qotg-sol-hero .qotg-lead { font-size:18px; max-width:570px; margin-top:36px; }
.qotg-sol-hero .qotg-actions { margin-top:36px; }
.qotg-sol-illustration { height:420px; background:url('./solutions-flow.svg') center / contain no-repeat; }
.qotg-sol-strip { padding:0; background:transparent; border-block:none !important; border-top:none !important; border-bottom:none !important; }
.qotg-sol-strip-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
.qotg-sol-strip-item { padding:20px; border-inline-start:1px solid var(--wp--preset--color--border); min-height:128px; box-sizing:border-box; }
.qotg-sol-strip-item:last-child { border-inline-end:1px solid var(--wp--preset--color--border); }
.qotg-sol-strip-item p { font-size:15px; }
.qotg-sol-strip-item h3 { font-size:25px; margin-top:28px; }
.qotg-sol-principles { padding-block:128px; }
.qotg-sol-principles .qotg-centre h2 { margin-top:28px; }
.qotg-sol-principle-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:48px; margin-top:96px; }
.qotg-sol-principle { border-inline-start:1px solid var(--wp--preset--color--border); padding:24px 32px; }
.qotg-sol-principle h3 { font-size:18px; margin:32px 0 8px; }
.qotg-sol-principle > p:last-child { font-size:16px; }
.qotg-sol-stage { padding:0; background:transparent; border-top:none; }
.qotg-sol-stage-frame { padding:80px 80px 0; height:550px; overflow:clip; }
.qotg-sol-dashboard { border:1px solid var(--wp--preset--color--border); border-radius:var(--wp--custom--radius--stage); overflow:clip; box-shadow:var(--wp--preset--shadow--stage); }
.qotg-sol-stage-copy { padding:64px 20px; }
.qotg-sol-stage-copy h2 { font-size:32px; }
.qotg-sol-workflows { overflow:visible; }
.qotg-sol-section-heading { margin-bottom:64px; }
.qotg-sol-section-heading h2 { margin-top:28px; }
.qotg-sol-jump { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); padding:6px; border:1px solid var(--wp--preset--color--border); background:var(--wp--preset--color--canvas); position:sticky; top:72px; z-index:20; scroll-target-group:auto;  border-radius:var(--wp--custom--radius--card);  box-shadow:var(--wp--preset--shadow--surface); }
.admin-bar .qotg-sol-jump { top:104px;  border-radius:var(--wp--custom--radius--card);  box-shadow:var(--wp--preset--shadow--surface); }
.qotg-sol-jump p { min-width:0; }
.qotg-sol-jump a { display:flex; justify-content:center; align-items:center; min-height:54px; padding:8px 12px; box-sizing:border-box; font-size:15px; text-align:center; border-radius:var(--wp--custom--radius--md, 8px);  transition:background-color var(--wp--custom--motion--control) var(--wp--custom--motion--ease); }
.qotg-sol-jump a:hover { background:var(--wp--preset--color--cream); }
.qotg-sol-jump a[aria-current='true'] { background:var(--wp--preset--color--secondary); }
@supports (scroll-target-group:auto) {
 .qotg-sol-jump a:target-current { background:var(--wp--preset--color--secondary); }
}
.qotg-sol-row { display:grid; grid-template-columns:0.9fr 1.1fr; align-items:center; gap:clamp(48px,6vw,96px); padding-top:96px; scroll-margin-top:160px; }
.qotg-sol-row:nth-child(even) { grid-template-columns:1.1fr 0.9fr; }
.qotg-sol-row + .qotg-sol-row { padding-top:128px; }
.qotg-sol-row:nth-child(even) .qotg-sol-row-copy { order:2; }
.qotg-sol-row h3 { font-size:32px; line-height:1.1; margin:40px 0 16px; }
.qotg-sol-row .qotg-text-link { margin-top:24px; }
.qotg-sol-row .qotg-eyebrow::before { content:''; display:inline-block; width:10px; height:10px; margin-right:10px; background:var(--wp--preset--color--orange); }
.qotg-sol-benefits { list-style:none; padding:0; margin:24px 0 0; }
.qotg-sol-benefits li { padding:16px 0; border-bottom:1px solid var(--wp--preset--color--border); font-size:15px; }
.qotg-sol-row-visual { padding:0; background:transparent; border:none; box-shadow:none; min-width:0; min-height:0; display:flex; align-items:center; }
.qotg-sol-row .qotg-image { width:100%; border:none; border-radius:var(--wp--custom--radius--stage); overflow:hidden; box-shadow:0 14px 44px rgba(0,0,0,0.07); }
.qotg-sol-row .qotg-image img { border-radius:inherit; display:block; width:100%; height:auto; }
.qotg-sol-connected {
  padding-block: clamp(80px, 9vw, 140px);
  background: var(--wp--preset--color--canvas, #ffffff);
  color: var(--wp--preset--color--ink, #121212);
  border: none;
}
.qotg-sol-connected > .qotg-shell {
  border: none;
}
.qotg-sol-connected-heading {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: end;
  gap: clamp(40px, 6vw, 100px);
  padding: 0 0 clamp(48px, 6vw, 64px);
  border-bottom: 1px solid var(--wp--preset--color--border, #e5e7eb);
}
.qotg-sol-connected h2 {
  margin-top: 16px;
  color: var(--wp--preset--color--ink, #121212);
}
.qotg-sol-connected-heading > p {
  color: var(--wp--preset--color--muted, #67675e);
  font-size: 16px;
  line-height: 1.55;
}
.qotg-sol-connection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-top: clamp(40px, 5vw, 60px);
}
.qotg-sol-connection {
  padding: clamp(32px, 4vw, 44px);
  background: #ffffff;
  color: var(--wp--preset--color--ink, #121212);
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: var(--wp--custom--radius--card, 20px) !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.qotg-sol-connection:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.14) !important;
}
.qotg-sol-connection:nth-child(even) {
  border-inline-start: 1px solid rgba(0, 0, 0, 0.08) !important;
}
.qotg-sol-connection .qotg-number {
  color: var(--wp--preset--color--orange, #f4781f);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.qotg-sol-connection .qotg-number::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--wp--preset--color--orange, #f4781f);
}
.qotg-sol-connection h3 {
  font-size: clamp(22px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 28px 0 10px;
  color: var(--wp--preset--color--ink, #121212);
}
.qotg-sol-connection > p:last-child {
  color: var(--wp--preset--color--muted, #67675e);
  max-width: 440px;
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}
.qotg-sol-example-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:40px 32px; }
.qotg-sol-example { display:flex; flex-direction:column; border:none; background:transparent; box-shadow:none; padding:0; box-sizing:border-box; }
.qotg-sol-example:hover { border:none; box-shadow:none; }
.qotg-sol-example .qotg-image { width:100%; aspect-ratio:16 / 10; margin-bottom:20px; border-radius:var(--wp--custom--radius--stage); border:none; box-shadow:0 10px 32px rgba(0,0,0,0.06); overflow:hidden; background:#ffffff; transition:transform var(--wp--custom--motion--control) var(--wp--custom--motion--ease), box-shadow var(--wp--custom--motion--control) var(--wp--custom--motion--ease); }
.qotg-sol-example:hover .qotg-image { transform:translateY(-2px); box-shadow:0 16px 44px rgba(0,0,0,0.1); }
.qotg-sol-example .qotg-image img { width:100%; height:100%; object-fit:cover; display:block; border-radius:inherit; }
.qotg-sol-example .qotg-eyebrow { font-size:11px; margin-bottom:8px; }
.qotg-sol-example h3 { font-size:22px; font-weight:600; line-height:1.25; margin:8px 0 10px; color:var(--wp--preset--color--ink); }
.qotg-sol-example > p:last-child { font-size:15px; line-height:1.55; color:var(--wp--preset--color--muted); margin:0; }
.qotg-sol-final { padding-block:128px; }
.qotg-sol-final .qotg-reassurance { justify-content:center; }
@media (prefers-reduced-motion:no-preference) {
 .qotg-sol-illustration { animation:qotg-enter 600ms var(--wp--custom--motion--ease) 160ms backwards; }
 @supports ((animation-timeline:view()) and (animation-range:entry)) {
  .qotg-sol-stage .qotg-image { animation:qotg-parallax linear both; animation-timeline:view(); animation-range:entry 0% entry 100%; }
 }
}
@media (max-width:1100px) {
 .qotg-sol-hero-grid { gap:40px; }
 .qotg-sol-row { gap:48px; }
 .qotg-sol-row-visual { padding:0; min-height:0; border:none; }
 .qotg-sol-principle-grid { gap:24px; }
 .qotg-sol-connected-heading { gap:48px; }
 .qotg-sol-example { padding:0; border:none; }
}
@media (max-width:781px) {
 .qotg-sol-hero { padding-block:32px 64px; }
 .qotg-sol-hero-grid { grid-template-columns:1fr; gap:32px; }
 .qotg-sol-hero h1 { font-size:var(--wp--preset--font-size--solution-display);  line-height:1.08;  letter-spacing:-.035em; }
 .qotg-sol-hero .qotg-lead { margin-top:28px; }
 .qotg-sol-hero .qotg-actions { flex-direction:column; align-items:stretch; margin-top:28px; }
 .qotg-sol-hero .wp-block-button, .qotg-sol-hero .wp-block-button__link { width:100%; }
 .qotg-sol-illustration { height:320px; }
 .qotg-sol-strip-grid, .qotg-sol-principle-grid, .qotg-sol-row, .qotg-sol-connected-heading, .qotg-sol-connection-grid, .qotg-sol-example-grid { grid-template-columns:1fr; }
 .qotg-sol-strip-item { border-inline:1px solid var(--wp--preset--color--border); border-bottom:1px solid var(--wp--preset--color--border); min-height:120px; }
 .qotg-sol-strip-item:last-child { border-bottom:0; }
 .qotg-sol-strip-item h3 { font-size:28px; margin-top:20px; }
 .qotg-sol-principles { padding-block:64px; }
 .qotg-sol-principle-grid { margin-top:48px; gap:20px; }
 .qotg-sol-principle { padding:20px; }
 .qotg-sol-stage-frame { height:auto; padding:32px 16px 0; }
 .qotg-sol-stage-copy { padding:40px 0; }
 .qotg-sol-stage-copy h2 { font-size:28px; }
 .qotg-sol-stage-copy .qotg-actions { flex-direction:column; align-items:stretch; }
 .qotg-sol-stage-copy .wp-block-button__link { width:100%; }
 .qotg-sol-section-heading { margin-bottom:40px; }
 .qotg-sol-jump, .admin-bar .qotg-sol-jump { position:static; grid-template-columns:1fr 1fr;  border-radius:var(--wp--custom--radius--card);  box-shadow:var(--wp--preset--shadow--surface); }
 .qotg-sol-jump > p:last-child { grid-column:1 / -1; }
 .qotg-sol-jump a { font-size:13px; min-height:48px;  border-radius:var(--wp--custom--radius--md, 8px);  transition:background-color var(--wp--custom--motion--control) var(--wp--custom--motion--ease); }
 .qotg-sol-row,
 .qotg-sol-row:nth-child(even),
 .qotg-sol-row + .qotg-sol-row {
   display: flex !important;
   flex-direction: column !important;
   grid-template-columns: 1fr !important;
   gap: 28px !important;
   padding-top: 56px !important;
   scroll-margin-top: 88px !important;
   align-items: stretch !important;
 }
 .qotg-sol-row-copy,
 .qotg-sol-row:nth-child(even) .qotg-sol-row-copy {
   order: 1 !important;
   width: 100% !important;
 }
 .qotg-sol-row-visual,
 .qotg-sol-row:nth-child(even) .qotg-sol-row-visual {
   order: 2 !important;
   width: 100% !important;
   min-height: 0 !important;
   padding: 0 !important;
   border: none !important;
 }
 .qotg-sol-row h3 { font-size:28px; margin-top:28px; }
 .qotg-sol-row .qotg-image {
   width: 100% !important;
   max-width: 100% !important;
   margin: 0 !important;
   border-radius: var(--wp--custom--radius--stage, 20px) !important;
   overflow: hidden !important;
   box-shadow: 0 10px 32px rgba(0,0,0,0.06) !important;
 }
 .qotg-sol-row .qotg-image img {
   width: 100% !important;
   height: auto !important;
   display: block !important;
   border-radius: inherit !important;
 }
 .qotg-sol-connected-heading { padding: 0 0 32px; gap: 24px; }
 .qotg-sol-connection-grid { gap: 16px; padding-top: 32px; }
 .qotg-sol-connection { padding: 28px 24px; }
 .qotg-sol-connection:nth-child(even) { border-inline-start: 1px solid rgba(0, 0, 0, 0.08) !important; }
 .qotg-sol-connection h3 { margin-top: 20px; }
 .qotg-sol-example { padding:0; border:none; }
 .qotg-sol-example .qotg-image { margin-bottom:16px; border-radius:var(--wp--custom--radius--stage); overflow:hidden; }
 .qotg-sol-final { padding-block:80px; }
}
/* The same layouts remain editable without sticky navigation or motion in Gutenberg. */
.editor-styles-wrapper .qotg-sol-jump { position:static;  border-radius:var(--wp--custom--radius--card);  box-shadow:var(--wp--preset--shadow--surface); }
.editor-styles-wrapper .qotg-sol-stage-frame { height:auto; padding-bottom:24px; }
