/* Homepage experiment. Shared pages keep the existing Atlas stylesheet. */
body:has(.sq-home) {
  --tracking-display: 0;
  --tracking-tight: 0;
  --tracking-eyebrow: 0;
  --container: 1184px;
  --r-lg: 8px;
  --r-md: 8px;
  --sq-paper: #faf9f5;
  --sq-muted: #64615b;
  --sq-line: #d9d5cb;
  --sq-edge: #c8c4b9;
  --sq-dark: #202321;
  --sq-tab-hover: #efede7;
  --sq-tab-on: #e8e4da;
  --sq-shadow: 0 24px 50px -26px #1a181635;
  --sq-zoom-shadow: 0 2px 8px #1a181614;
  --sq-r-panel: #282d29;
  --sq-r-line: #424842;
  --sq-r-line-2: #495149;
  --sq-r-line-3: #454d45;
}
:root[data-theme='dark'] body:has(.sq-home) {
  --sq-paper: #221F1C;
  --sq-muted: #B3AD9F;
  --sq-line: #363029;
  --sq-edge: #3A342C;
  --sq-dark: var(--deep);
  --sq-tab-hover: #2A2622;
  --sq-tab-on: #332E28;
  --sq-shadow: 0 24px 50px -26px #000000b0;
  --sq-zoom-shadow: var(--shadow-sm);
  --sq-r-panel: #1E1B18;
  --sq-r-line: #2E2A24;
  --sq-r-line-2: #363029;
  --sq-r-line-3: #2E2A24;
}
body:has(.sq-home) .site-nav { background: var(--canvas); border-bottom-color: var(--sq-line); }
body:has(.sq-home) .nav-link,
body:has(.sq-home) .btn { letter-spacing: 0; }
body:has(.sq-home) .btn { border-radius: 6px; }
.sq-home { letter-spacing: 0; }
.sq-home h1, .sq-home h2, .sq-home h3 { letter-spacing: 0; }
.sq-home button, .sq-home a { -webkit-tap-highlight-color: transparent; }
.sq-home a, .sq-home button { touch-action: manipulation; }
.sq-home [hidden] { display: none !important; }
.sq-home .container { max-width: 1280px; padding-inline: 48px; }
.sq-hero { padding: 116px 0 0; }
.sq-intro { text-align: center; }
.sq-announcement { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 650; color: var(--stone); padding: 4px 0; }
.sq-announcement > .ico:first-child { color: var(--clay); }
.sq-announcement:hover { color: var(--ink); }
.sq-intro h1 { font-size: 64px; font-weight: 750; line-height: 1.1; margin: 18px auto 20px; max-width: 1100px; text-wrap: balance; }
.sq-intro-copy { color: var(--sq-muted); font-size: 18px; line-height: 1.65; max-width: 670px; margin-inline: auto; }
.sq-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.sq-intro .sq-actions { justify-content: center; margin-top: 28px; }
.sq-home .btn--lg { font-size: 14px; padding: 14px 21px; min-height: 49px; }
.sq-text-link { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 650; line-height: 1.5; }
.sq-text-link .ico { flex-shrink: 0; transition: transform 180ms ease; }
.sq-text-link:hover .ico { transform: translateX(3px); }
.sq-text-link:hover { color: var(--clay); }
.sq-fine-print { color: var(--stone); font-size: 12px; margin-top: 15px; }

/* The product is the hero's visual: real, readable, and user-controlled. */
.sq-product { margin: 40px auto 0; max-width: 1100px; scroll-margin-top: 100px; border: 1px solid var(--sq-edge); border-radius: 8px; box-shadow: var(--sq-shadow); overflow: hidden; background: var(--sq-paper); }
.sq-product-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 66px; padding: 12px 20px; border-bottom: 1px solid var(--sq-line); background: var(--sq-paper); }
.sq-product-brand { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 650; }
.sq-tab-list { display: flex; gap: 6px; }
.sq-tab-list button { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 12px; border-radius: 5px; font-size: 12px; font-weight: 650; color: var(--stone); min-height: 38px; transition: background 180ms ease, color 180ms ease; white-space: nowrap; }
.sq-tab-list button:hover { color: var(--ink); background: var(--sq-tab-hover); }
.sq-tab-list button[aria-selected="true"] { color: var(--ink); background: var(--sq-tab-on); }
.sq-tab-list button[aria-selected="true"] .ico { color: var(--clay); }
.sq-product-image { width: 100%; aspect-ratio: 1440 / 900; background: var(--canvas); display: grid; align-items: center; position: relative; }
.sq-product-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.sq-product-zoom { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--pebble); border-radius: 5px; background: var(--sq-paper); color: var(--stone); box-shadow: var(--sq-zoom-shadow); }
.sq-product-zoom:hover { color: var(--clay); border-color: var(--clay); }
.sq-product-caption { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 22px 28px; min-height: 104px; border-top: 1px solid var(--sq-line); }
.sq-product-caption p { font-size: 13px; max-width: 560px; color: var(--stone); line-height: 1.6; }
.sq-product-caption strong { color: var(--ink); display: block; font-size: 15px; margin-bottom: 4px; }
.sq-product-caption .sq-text-link { font-size: 12px; flex-shrink: 0; }
.sq-product-panel.is-entering { animation: sq-panel-enter 220ms ease-out; }
.sq-trust { padding: 55px 0 60px; }
.sq-trust-inner { display: flex; justify-content: space-between; align-items: center; gap: 35px; }
.sq-trust p { font-weight: 700; font-size: 14px; line-height: 1.65; flex-shrink: 0; }
.sq-trust p span { color: var(--stone); font-size: 12px; font-weight: 500; }
.sq-logos { display: flex; align-items: center; justify-content: space-between; gap: 40px; width: 690px; }
.sq-logos img { max-width: 140px; height: 30px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; }
:root[data-theme='dark'] .sq-logos img { filter: grayscale(1) invert(1); }

.sq-capabilities { background: var(--sq-paper); border-block: 1px solid var(--sq-line); padding: 94px 0 90px; }
.sq-section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 58px; }
.sq-section-heading h2, .sq-start h2, .sq-ai h2 { font-size: 42px; line-height: 1.18; font-weight: 700; text-wrap: balance; }
.sq-ai { padding: 80px 0; border-bottom: 1px solid var(--sq-line); }
.sq-ai-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.sq-ai-copy > p { margin: 24px 0; max-width: 520px; font-size: 16px; line-height: 1.75; color: var(--stone); }
.sq-ai-workflow { border-left: 1px solid var(--sq-line); padding-left: 40px; }
.sq-ai-workflow h3 { font-size: 18px; font-weight: 700; margin-bottom: 24px; }
.sq-ai-workflow ul { list-style: none; display: grid; gap: 26px; }
.sq-ai-workflow li { display: flex; align-items: flex-start; gap: 16px; }
.sq-ai-workflow li > .ico { color: var(--clay); flex-shrink: 0; margin-top: 3px; }
.sq-ai-workflow strong { display: block; font-size: 15px; font-weight: 650; margin-bottom: 5px; }
.sq-ai-workflow span { font-size: 14px; line-height: 1.65; color: var(--stone); }
.sq-ai-workflow a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.sq-section-heading > p { max-width: 450px; font-size: 16px; line-height: 1.75; color: var(--stone); }
.sq-capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sq-capability-grid article { padding: 0 36px; border-left: 1px solid var(--sq-line); }
.sq-capability-grid article:first-child { padding-left: 0; border-left: 0; }
.sq-capability-grid article:last-child { padding-right: 0; }
.sq-capability-icon { color: var(--clay); margin-bottom: 22px; }
.sq-capability-grid h3 { font-size: 20px; font-weight: 700; line-height: 1.4; margin-bottom: 14px; }
.sq-capability-grid p { font-size: 14px; line-height: 1.8; color: var(--stone); min-height: 100px; }
.sq-capability-grid ul { margin-top: 28px; }
.sq-capability-grid li + li { margin-top: 14px; }
.sq-capability-grid li a { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; }
.sq-capability-grid li .ico { color: var(--stone); flex-shrink: 0; }
.sq-capability-grid li a:hover { color: var(--clay); }

.sq-response { background: var(--sq-dark); padding: 90px 0 0; }
.sq-response .sq-section-heading p { color: #b8beb8; }
.sq-response .sq-section-heading h2 { color: #faf9f5; }
.sq-response-tour { display: grid; grid-template-columns: .95fr 1.05fr; gap: 76px; margin-bottom: 56px; align-items: center; }
.sq-response-steps { display: flex; flex-direction: column; }
.sq-response-steps button { text-align: left; display: grid; grid-template-columns: 36px 1fr 18px; gap: 14px; align-items: start; padding: 24px 10px 24px 0; border-bottom: 1px solid var(--sq-r-line); color: #a3aaa3; }
.sq-response-steps button:first-child { border-top: 1px solid var(--sq-r-line); }
.sq-response-steps button > .ico { margin-top: 4px; opacity: 0; transition: opacity 180ms ease, transform 180ms ease; }
.sq-response-steps button[aria-selected="true"] > .ico { opacity: 1; transform: translateX(3px); }
.sq-step-mark { padding-top: 4px; color: #879486; }
.sq-response-steps strong { display: block; font-size: 17px; font-weight: 650; line-height: 1.4; color: #b8beb8; margin-bottom: 8px; }
.sq-response-steps button > span > span { display: block; font-size: 13px; line-height: 1.7; max-width: 35ch; }
.sq-response-steps button[aria-selected="true"] strong { color: #faf9f5; }
.sq-response-steps button[aria-selected="true"] .sq-step-mark { color: #e98c73; }
.sq-response-steps button:hover strong { color: #faf9f5; }
.sq-response-display { background: var(--sq-r-panel); border: 1px solid var(--sq-r-line-2); border-radius: 8px; overflow: hidden; min-width: 0; }
.sq-example-label { display: flex; align-items: center; gap: 10px; padding: 18px 22px; border-bottom: 1px solid var(--sq-r-line-2); font-size: 11px; color: #c4ccc4; }
.sq-example-label > span:last-child { margin-left: auto; color: #a8b2a8; font-size: 10px; }
.sq-response-panel { padding: 24px; min-height: 344px; }
.sq-response-panel.is-entering { animation: sq-panel-enter 220ms ease-out; }
.sq-signal-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 11px; }
.sq-status { display: flex; align-items: center; gap: 6px; }
.sq-status::before { content: ''; width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.sq-status--amber { color: #e5c377; }
.sq-status--rose { color: #f29b92; }
.sq-status--sage { color: #b6d6a8; }
.sq-mono { font-family: var(--font-mono); color: #b8c1b8; font-size: 10px; }
.sq-signal-bars { display: flex; height: 86px; align-items: end; gap: 4px; padding-top: 12px; margin-top: 14px; }
.sq-signal-bars i { flex: 1; height: var(--bar); background: #87a278; border-radius: 2px 2px 0 0; transform-origin: bottom; }
.sq-signal-bars i.sq-bar-failed { background: #df8a76; }
.sq-response-panel.is-entering .sq-signal-bars i { animation: sq-bar-enter 350ms ease both; animation-delay: var(--delay); }
.sq-signal-axis { display: flex; justify-content: space-between; color: #b2bdb2; font-size: 10px; margin: 8px 0 18px; }
.sq-event-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--sq-r-line-3); font-size: 11px; }
.sq-event-row strong { font-size: 11px; color: #f2f4ee; }
.sq-event-row > span:last-child { color: #b8c1b8; margin-left: auto; }
.sq-event-dot { width: 5px; height: 5px; border-radius: 50%; background: #ef9b8c; }
.sq-event-dot--amber { background: #e5c377; }
.sq-response-panel > .sq-text-link { color: #ccd6c9; font-size: 12px; margin-top: 20px; }
.sq-response-panel > .sq-text-link:hover { color: white; }
.sq-notification { display: flex; align-items: flex-start; gap: 15px; margin: 27px 0; padding-block: 24px; border-block: 1px solid var(--sq-r-line-3); color: #eab59f; }
.sq-notification strong { color: #f5f6f0; font-size: 17px; font-weight: 650; }
.sq-notification p { font-size: 13px; color: #d5ddd1; margin-top: 7px; }
.sq-notification span { font-size: 11px; color: #b2bdb2; }
.sq-channel-row { display: flex; flex-wrap: wrap; gap: 18px; color: #c8d1c4; font-size: 12px; }
.sq-status-page-title { display: flex; align-items: center; gap: 10px; color: #e5eddf; margin: 25px 0 15px; font-size: 16px; }
.sq-service-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; font-size: 12px; color: #ecf0e7; border-top: 1px solid var(--sq-r-line-3); }
.sq-service-ok { color: #b6d6a8; }
.sq-service-issue { color: #e5c377; }
.sq-response-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 30px; border-top: 1px solid var(--sq-r-line); font-size: 13px; color: #bac2b6; }
.sq-response-bottom > div { display: flex; flex-wrap: wrap; gap: 32px; }
.sq-response-bottom a { display: flex; align-items: center; gap: 5px; color: #ecf0e7; }
.sq-response-bottom a:hover { text-decoration: underline; text-underline-offset: 5px; }

.sq-start { padding-block: 100px; }
.sq-start-layout { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 72px 130px; }
.sq-start-copy > p:not(.sq-fine-print) { font-size: 16px; color: var(--stone); line-height: 1.8; margin-top: 24px; max-width: 48ch; }
.sq-start-copy .sq-actions { margin-top: 32px; }
.sq-start-details { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.sq-start-details > div { padding-top: 22px; border-top: 1px solid var(--sq-line); }
.sq-start-details strong { display: block; font-size: 30px; line-height: 1.4; font-weight: 700; white-space: nowrap; }
.sq-start-details strong span { font-size: 13px; font-weight: 500; color: var(--stone); }
.sq-start-details p { margin-top: 6px; font-size: 12px; line-height: 1.7; color: var(--stone); }
.sq-switch { background: var(--sq-paper); padding-block: 40px; border-top: 1px solid var(--sq-line); }
.sq-switch-inner { display: flex; justify-content: space-between; gap: 28px; align-items: center; }
.sq-switch h2 { font-size: 17px; font-weight: 700; line-height: 1.5; }
.sq-switch p { color: var(--stone); font-size: 13px; margin-top: 5px; }
.sq-switch-links { display: flex; flex-wrap: wrap; gap: 25px; }
.sq-switch-links a { font-size: 12px; display: flex; gap: 6px; align-items: center; }
.sq-switch-links a:hover { color: var(--clay); }
body:has(.sq-home) .site-footer {
  --canvas: #1a1816;
  --ash: #64615b;
  --soil: #d9d5cb;
  background: var(--sq-paper);
}
body:has(.sq-home) .footer-status { background: transparent; }
:root[data-theme='dark'] body:has(.sq-home) .site-footer { --ash: #8B857B; --soil: #363029; background: var(--deep); }

@keyframes sq-panel-enter { from { opacity: .4; } to { opacity: 1; } }
@keyframes sq-bar-enter { from { transform: scaleY(.4); } to { transform: scaleY(1); } }

@media (min-width: 1441px) {
  .sq-home .container { max-width: 1400px; padding-inline: 64px; }
  .sq-hero { padding-top: 126px; }
  .sq-intro h1 { font-size: 70px; }
  .sq-product { max-width: 1184px; }
}
@media (max-width: 1100px) {
  .sq-home .container { padding-inline: 32px; }
  .sq-intro h1 { font-size: 56px; }
  .sq-trust-inner { flex-direction: column; gap: 26px; text-align: center; }
  .sq-logos { max-width: 100%; justify-content: space-around; }
  .sq-section-heading { gap: 40px; }
  .sq-section-heading h2, .sq-start h2, .sq-ai h2 { font-size: 36px; }
  .sq-ai-layout { gap: 40px; }
  .sq-capability-grid article { padding-inline: 24px; }
  .sq-capability-grid p { min-height: 126px; }
  .sq-response-tour { gap: 36px; }
  .sq-start-layout { grid-template-columns: 1fr 1fr; gap: 56px 44px; }
  .sq-start-details { gap: 0 28px; }
  .sq-start-details p br { display: none; }
  .sq-switch-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 760px) {
  .sq-home .container { padding-inline: 24px; }
  .sq-hero { padding-top: 116px; }
  .sq-intro h1 { font-size: 44px; margin-top: 20px; }
  .sq-intro-copy { font-size: 16px; max-width: 500px; }
  .sq-product { margin-top: 38px; }
  .sq-product-toolbar { justify-content: center; padding: 12px; }
  .sq-product-brand { display: none; }
  .sq-product-caption { flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px; min-height: 165px; }
  .sq-product-caption p { max-width: 100%; }
  .sq-trust { padding-block: 35px 45px; }
  .sq-logos { flex-wrap: wrap; gap: 25px; width: 450px; }
  .sq-logos img { height: 25px; max-width: 120px; }
  .sq-capabilities, .sq-response { padding-top: 65px; }
  .sq-capabilities { padding-bottom: 55px; }
  .sq-section-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 38px; }
  .sq-section-heading h2, .sq-start h2, .sq-ai h2 { font-size: 34px; }
  .sq-ai { padding: 56px 0; }
  .sq-ai-layout { grid-template-columns: 1fr; gap: 36px; }
  .sq-ai-workflow { border-left: 0; border-top: 1px solid var(--sq-line); padding: 28px 0 0; }
  .sq-section-heading > p { max-width: 560px; font-size: 15px; }
  .sq-capability-grid { grid-template-columns: 1fr; }
  .sq-capability-grid article, .sq-capability-grid article:first-child, .sq-capability-grid article:last-child { border-left: 0; padding: 26px 0; border-top: 1px solid var(--sq-line); }
  .sq-capability-icon { float: left; margin: 2px 14px 0 0; }
  .sq-capability-grid h3 { font-size: 21px; margin-bottom: 15px; }
  .sq-capability-grid p { min-height: auto; clear: both; max-width: 56ch; }
  .sq-capability-grid ul { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; }
  .sq-capability-grid li + li { margin-top: 0; }
  .sq-response-tour { grid-template-columns: 1fr; gap: 25px; }
  .sq-response-steps button { padding-block: 20px; }
  .sq-response-steps button > span > span { max-width: 100%; }
  .sq-response-panel { min-height: 346px; }
  .sq-response-bottom { flex-direction: column; align-items: flex-start; gap: 15px; }
  .sq-response-bottom > div { gap: 22px; }
  .sq-start { padding-block: 65px; }
  .sq-start-layout { grid-template-columns: 1fr; gap: 40px; }
  .sq-start-details { grid-template-columns: 1fr; }
  .sq-start-details > div { display: grid; grid-template-columns: 135px 1fr; gap: 16px; align-items: center; padding: 22px 0; border-top: 0; border-bottom: 1px solid var(--sq-line); }
  .sq-start-details > div:first-child { border-top: 1px solid var(--sq-line); }
  .sq-start-details p { margin-top: 0; }
  .sq-start-details p br { display: revert; }
  .sq-switch-links { gap: 18px 25px; }
}
@media (min-width: 761px) and (max-height: 760px) {
  .sq-hero { padding-top: 102px; }
  .sq-intro h1 { font-size: 56px; }
  .sq-product { margin-top: 32px; }
}
@media (max-width: 480px) {
  body:has(.sq-home) .nav-inner { padding-inline: 16px; gap: 10px; }
  body:has(.sq-home) .nav-actions { gap: 8px; }
  body:has(.sq-home) .nav-actions .btn { padding: 10px 12px; font-size: 12px; }
  body:has(.sq-home) .nav-actions .btn .arrow { display: none; }
  .sq-home .container { padding-inline: 20px; }
  .sq-hero { padding-top: 105px; }
  .sq-intro h1 { font-size: 32px; line-height: 1.15; margin-bottom: 20px; }
  .sq-intro-copy { font-size: 15px; line-height: 1.7; }
  .sq-desktop-break { display: none; }
  .sq-intro .sq-actions { gap: 20px; flex-direction: column; margin-top: 24px; }
  .sq-fine-print { font-size: 11px; }
  .sq-intro .sq-fine-print { margin-top: 18px; }
  .sq-tab-list { width: 100%; gap: 0; justify-content: space-between; }
  .sq-tab-list button { padding: 8px; font-size: 11px; gap: 5px; }
  .sq-tab-list button .ico { width: 14px; }
  .sq-product-toolbar { padding: 8px; min-height: 55px; }
  .sq-product-caption p { font-size: 12px; }
  .sq-product-caption strong { font-size: 14px; }
  .sq-logos { width: 100%; display: grid; grid-template-columns: 1fr 1fr; justify-items: center; gap: 26px 30px; }
  .sq-section-heading h2, .sq-start h2, .sq-ai h2 { font-size: 30px; }
  .sq-capability-grid ul { grid-template-columns: 1fr; gap: 16px; }
  .sq-example-label { padding-inline: 16px; gap: 7px; font-size: 10px; }
  .sq-example-label > .pulse-mark { width: 17px; flex-shrink: 0; }
  .sq-example-label > span:last-child { font-size: 9px; }
  .sq-response-panel { padding: 20px 16px; min-height: 337px; }
  .sq-signal-bars { gap: 3px; }
  .sq-signal-heading { gap: 8px; font-size: 10px; }
  .sq-signal-heading .sq-mono { font-size: 9px; }
  .sq-event-row, .sq-event-row strong { font-size: 10px; }
  .sq-channel-row { gap: 16px; font-size: 11px; }
  .sq-response-bottom { font-size: 12px; }
  .sq-start-details p { font-size: 11px; }
  .sq-start-details > div { grid-template-columns: 115px 1fr; gap: 10px; }
  .sq-start-details strong { font-size: 27px; }
  .sq-start-details strong span { font-size: 12px; }
}
@media (max-width: 360px) {
  .sq-intro h1 { font-size: 29px; }
  .sq-home .container { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .sq-product-panel.is-entering, .sq-response-panel.is-entering, .sq-response-panel.is-entering .sq-signal-bars i { animation: none; }
  .sq-home .ico { transition: none; }
}
