/* Confirmed September 18 refinements: country links, Europe, and product visuals. */
.sq-country-links{display:flex;flex-wrap:wrap;gap:12px 24px;margin:20px 0 0}
.sq-country-link{font-size:.9375rem;line-height:1.65;white-space:normal}
.office .sq-country-link{display:inline-block;margin-top:2px}
.sq-global-v8{padding:52px 0;background:linear-gradient(120deg,#eef3fe,#f8faff);border-bottom:1px solid #dce5f3}
.sq-global-layout{display:grid;grid-template-columns:minmax(180px,.65fr) minmax(0,1.35fr);gap:clamp(28px,5vw,76px);align-items:center;max-width:1120px}
.sq-global-visual{justify-self:center;width:clamp(184px,19vw,246px);aspect-ratio:1260/2736;margin:0;overflow:hidden;border:1px solid #dce5f3;border-radius:25px;background:white;box-shadow:0 18px 42px #15346712}
.sq-global-visual img{display:block;width:100%;height:auto}
.sq-global-copy{min-width:0}
.sq-global-copy h2{font-size:clamp(1.625rem,3vw,2.25rem);line-height:1.4;margin:12px 0 16px;word-break:keep-all;overflow-wrap:anywhere}
.sq-global-copy .lead{font-size:1rem;line-height:1.8;margin:0;max-width:650px}
.sq-global-milestones{margin:24px 0}
.sq-global-milestones>div{padding:14px 0;border-top:1px solid #cdd9ed}
.sq-global-milestones dt{font-size:1.0625rem;font-weight:600;line-height:1.6;color:var(--ink)}
.sq-global-milestones dd{font-size:.9375rem;line-height:1.65;color:var(--muted);margin:5px 0 0}
.sq-global-links{display:flex;flex-wrap:wrap;gap:12px 24px}
.sq-global-links a{font-size:.9375rem;line-height:1.65}
.home7-problem .design-gaps .v4-answer{justify-content:flex-start}
.home7-problem .v6-first-products>a.v8-first-product{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(82px,1fr);align-items:stretch;gap:12px;padding:18px 14px 0 16px;overflow:hidden}
.v8-first-product-copy{min-width:0;padding-bottom:16px}
.v8-first-product-copy>strong{display:block;font-size:1.5rem;letter-spacing:-.025em;font-weight:600}
.v8-first-product-copy>span{display:block;margin:7px 0 12px;color:#536886;font-size:.875rem;line-height:1.6}
.home7-problem .v8-first-product .v6-product-proof.compact{display:flex;flex-direction:column;align-items:flex-start;gap:7px;margin:0}
.home7-problem .v8-first-product .v6-product-proof.compact>span{white-space:normal;font-size:.875rem;padding:5px 7px;line-height:1.55;max-width:100%}
.v8-first-product-screen{margin:28px 0 0;min-width:0;width:100%;max-width:168px;aspect-ratio:3/7;overflow:hidden;align-self:end;justify-self:center;position:relative;height:auto;min-height:0}
.v8-first-product-screen img{display:block;width:100%;max-width:100%;height:auto;border-radius:12px 12px 0 0}
.home7-problem .v4-answer>.text-link{margin-top:8px}
.v8-home-companion{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:20px;align-items:center;margin:20px 0}
.v8-home-companion figure{margin:0;min-width:0;overflow:hidden;border-radius:12px;background:#edf4fa}
.v8-home-companion img{display:block;width:100%;height:auto}
.home7-problem .v8-home-companion .medication-support{margin:0;min-width:0}
.home7-problem .v8-home-companion .medication-support li{display:block;padding:12px 0;font-size:.9375rem;line-height:1.65}
.v8-home-companion .medication-support li b{display:block;margin-bottom:4px;font-size:1rem}
.v8-home-companion .medication-support li span{display:block}
.v8-engine-modules article h3{overflow-wrap:anywhere}
.sam-doctor-links .btn,.sq-doctors .sq-resource-bar .btn{white-space:normal;line-height:1.5;text-align:center}
@media(min-width:701px) and (max-width:1200px){
  .home7-problem .v6-first-products{grid-template-columns:1fr}
  .home7-problem .v6-first-products>a.v8-first-product{grid-template-columns:minmax(0,1fr) minmax(98px,.65fr)}
  .v8-first-product-screen{height:auto;margin-top:10px;max-width:150px}
  .v8-first-product-screen img{width:100%;max-width:100%}
  .v8-home-companion{grid-template-columns:minmax(0,1fr);gap:12px}
  .v8-home-companion figure{width:min(100%,260px);justify-self:center}
}
@media(max-width:700px){
  .sq-global-v8{padding:36px 0}
  .sq-global-layout{grid-template-columns:minmax(0,1fr);gap:24px}
  .sq-global-copy{grid-row:1}
  .sq-global-visual{width:210px;max-width:68%;aspect-ratio:auto;max-height:330px}
  .sq-global-copy h2{font-size:1.75rem}
  .sq-global-milestones{margin:20px 0}
  .sq-country-links{gap:10px 20px}
  .v8-home-companion{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:16px}
}
@media(max-width:540px){
  .home7-problem .v6-first-products{grid-template-columns:1fr}
  .home7-problem .v6-first-products>a.v8-first-product{grid-template-columns:minmax(0,1fr) minmax(98px,.72fr);padding:20px 16px 0 20px}
  .v8-first-product-screen{height:auto;margin-top:6px;max-width:168px}
  .v8-first-product-screen img{width:100%;max-width:100%}
  .v8-home-companion{grid-template-columns:minmax(0,1fr);gap:14px}
  .v8-home-companion figure{width:min(100%,280px);justify-self:center}
  .home7-problem .v8-home-companion .medication-support li{display:grid;grid-template-columns:80px minmax(0,1fr);gap:10px}
  .v8-home-companion .medication-support li b{margin:0}
}

/* Confirmed round 2: content-sized rows, centered connectors, larger product screens. */
@media(min-width:1001px){
  .home7-problem .design-gaps{grid-template-rows:repeat(6,auto);row-gap:0}
  .home7-problem .design-gaps .v4-gap{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:subgrid;grid-row:span 6;row-gap:0}
  .home7-problem .design-gaps .v4-question{grid-row:1}
  .home7-problem .design-gaps .v4-answer{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:subgrid;grid-row:2 / span 5;row-gap:0}
  .home7-problem .v4-answer>.v6-first-products,.home7-problem .v4-answer>.v8-home-companion{align-self:stretch;margin:20px 0}
  .home7-problem .v8-home-companion>figure{align-self:stretch;display:flex;align-items:center}
  .home7-problem .design-gaps .v4-answer>.text-link{align-self:start;justify-self:start;margin-top:8px}
}
@media(min-width:1201px){
  .home7-problem .v8-first-product-screen{aspect-ratio:auto;margin:28px 0 14px;align-self:start;overflow:visible}
  .home7-problem .v8-first-product-screen img{height:auto;max-height:none;border-radius:0}
}
.v8-system-inputs{margin-bottom:36px}
.v8-system-outputs{margin-top:36px}
.v8-system-inputs>div:after,.v8-system-outputs a:before{content:"";position:absolute;left:50%;transform:translateX(-50%);width:16px;height:20px;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20'%3E%3Cpath d='M8 1v16M2 11l6 6 6-6' fill='none' stroke='%238cbafa' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px 20px no-repeat}
.v8-system-inputs>div:after{top:calc(100% + 8px);bottom:auto}
.v8-system-outputs a:before{top:-28px;bottom:auto}
.v8-practice .v6-case{align-items:stretch;text-align:left;gap:0}
.v8-practice .v6-case-heading{min-width:0}
.v8-practice .v6-case h3,.v8-practice .v6-case.combination h3{font-size:clamp(1.5rem,2.2vw,1.875rem);word-break:keep-all;overflow-wrap:anywhere}
.v8-practice .v6-case figure{width:100%;height:clamp(280px,26vw,360px);padding:24px 18px 0;margin:24px 0;align-items:flex-start;overflow:hidden;min-width:0}
.v8-practice .v6-case figure img{display:block;width:min(62%,224px);height:auto;max-height:none;max-width:100%;object-fit:contain;object-position:top center;flex:none}
.v8-practice .v6-case.combination figure{padding:16px;align-items:center}
.v8-practice .v6-case.combination figure img{width:100%;height:100%;max-width:none;max-height:none;object-fit:contain}
.v8-practice .v6-case .v8-details{width:100%;margin:0 0 22px;align-self:start}
.v8-practice .v6-case .v8-details summary{font-size:.9375rem}
.v8-practice .v6-case .tech7-case-links{width:100%;margin-top:0;align-self:end}
.v8-practice .v6-case .tech7-case-links .text-link{margin-top:0}
@media(min-width:1101px){
  .v8-practice .v6-cases{grid-template-rows:auto auto auto auto;row-gap:0}
  .v8-practice .v6-case{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:subgrid;grid-row:span 4;row-gap:0}
}
@media(min-width:761px) and (max-width:1100px){
  .v8-practice .v6-case{display:grid;grid-template-columns:minmax(200px,.85fr) minmax(0,1.15fr);grid-template-rows:auto auto 1fr;gap:0 26px}
  .v8-practice .v6-case-heading{grid-column:1/-1;grid-row:1}
  .v8-practice .v6-case figure{grid-column:1;grid-row:2/4;height:320px;margin:24px 0 0}
  .v8-practice .v6-case .v8-details{grid-column:2;grid-row:2;margin:24px 0 22px}
  .v8-practice .v6-case .tech7-case-links{grid-column:2;grid-row:3;align-self:start}
}
@media(max-width:760px){
  .v8-practice .v6-case figure{height:320px}
  .v8-practice .v6-case .tech7-case-links{margin-top:0}
}
.pipeline-group[id]{scroll-margin-top:calc(var(--site-header-height,90px) + 24px)}
.pipeline-group[id]:focus{outline:2px solid #587ec9;outline-offset:6px}
.v8-proof-number>strong{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:4px}
.v8-proof-number>strong em{font-size:clamp(1.25rem,2vw,1.75rem);letter-spacing:0;font-style:normal;margin-left:10px}
.v8-proof-number>span{font-size:.9375rem;line-height:1.6}
.v8-proof-comparison{display:flex;align-items:center;gap:22px;margin-top:16px}
.v8-proof-comparison>div{min-width:0}
.v8-proof-comparison span{display:block;font-size:.875rem;line-height:1.6;color:var(--muted)}
.v8-proof-comparison b{display:block;font-size:1.5rem;line-height:1.5;font-weight:600;color:#233e71}
.v8-proof-comparison i{font-size:1.5rem;margin:0}
.v8-proof-comparison>div:last-child b{color:#254cdd}
.v8-evaluation-facts{margin:22px 0}
.v8-evaluation-facts>div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:16px;border-top:1px solid #d3ddea;padding:14px 0;font-size:.9375rem;line-height:1.8}
.v8-evaluation-facts dt{font-weight:600}
.v8-evaluation-facts dd{margin:0}
.v8-combination-ai .v8-proof-comparison span{color:#b5cbe6}
.v8-combination-ai .v8-proof-comparison b{color:#d7e9ff}
.v8-combination-ai .v8-proof-comparison>div:last-child b{color:#98c4ff}
.v8-combination-ai .v8-evaluation-facts>div{border-color:#47698e}
.team-overview .research-metrics strong small{font-size:.43em;letter-spacing:0;margin-left:.2em;white-space:nowrap}
@media(max-width:640px){
  .team-overview .research-metrics>div,.team-overview .research-metrics>div:first-child{grid-template-columns:8.5rem minmax(0,1fr)}
  .v8-evaluation-facts>div{grid-template-columns:1fr;gap:4px}
  .v8-proof-comparison{gap:18px}
}

/* Approved round 3: consistent crops, shared rows, and localized visual examples. */
.home7-problem .v8-first-product-screen{aspect-ratio:5/11;align-self:end;margin:28px 0 0;overflow:hidden}
.home7-problem .v8-first-product-screen img{height:auto;max-height:none;border-radius:12px 12px 0 0}
.home7-problem .v8-first-product .v6-product-proof.compact>span{word-break:keep-all;overflow-wrap:normal}
/* Overall and BMI subgroup outcomes, with the approved front-facing icon. */
.v8-seren-expansion .v8-seren-heading p{margin-bottom:0}
.v8-seren-comparison{background:#eff7f5;border-radius:16px;padding:clamp(24px,3vw,36px);margin-top:16px}
.v8-seren-comparison-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:32px}
.v8-seren-result{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:20px}
.v8-seren-result-label{min-width:0}
.v8-seren-result-label strong,.v8-bmi-cohort strong{display:block;font-size:1.125rem;line-height:1.5;font-weight:600;word-break:keep-all}
.v8-seren-result-label span,.v8-bmi-cohort span{display:block;font-size:.9375rem;line-height:1.6;margin-top:5px}
.v8-seren-result-overall{color:#577775}
.v8-seren-result-bmi{border-left:1px solid #c5dcd5;padding-left:32px;color:#23756b}
.v8-bmi-cohort{display:flex;align-items:center;gap:14px;min-width:0;color:#23756b}
.v8-bmi-icon{width:88px;height:auto;aspect-ratio:1;flex:none}
.v8-bmi-cohort>div{min-width:0}
.v8-seren-result-value{flex:none;white-space:nowrap;font-size:clamp(48px,4.8vw,68px);line-height:1.2;font-weight:600;letter-spacing:-2px;color:#23756b;font-variant-numeric:tabular-nums}
.v8-seren-result-overall .v8-seren-result-value{color:#7c9797}
.v8-seren-result-value small{font-size:.45em;letter-spacing:-1px}
.v8-seren-expansion .v8-seren-next{margin:18px 0 0;font-size:.9375rem;line-height:1.8;color:#4d6e70}
@media(max-width:1000px){
 .v8-seren-comparison-grid{grid-template-columns:minmax(0,1fr);gap:20px}
 .v8-seren-result-bmi{border-left:0;border-top:1px solid #c5dcd5;padding:20px 0 0}
 .v8-bmi-icon{width:76px}
 .v8-seren-result-value{font-size:56px}
}
@media(max-width:640px){
 .v8-seren-comparison{padding:22px}
 .v8-seren-result{gap:14px}
 .v8-bmi-cohort{gap:10px}
 .v8-bmi-icon{width:56px}
 .v8-seren-result-label strong,.v8-bmi-cohort strong{font-size:1rem}
 .v8-seren-result-label span,.v8-bmi-cohort span{font-size:.875rem}
 .v8-seren-result-value{font-size:52px}
}
@media(max-width:380px){
 .v8-seren-comparison{padding:18px}
 .v8-seren-result{gap:10px}
 .v8-bmi-cohort{gap:8px}
 .v8-bmi-icon{width:44px}
 .v8-seren-result-value{font-size:46px}
}
.combo8-visuals{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.18fr);gap:28px;margin-top:30px;align-items:start}
.combo8-visuals article{min-width:0}
.combo8-visuals h3{font-size:1.375rem;line-height:1.5;margin:0 0 18px;word-break:keep-all;overflow-wrap:anywhere}
.combo8-visuals figure{margin:0}
.combo8-visuals img{display:block;width:100%;height:auto;border-radius:14px;border:1px solid #dde6f3}
.combo8-visuals .screen-zoom{display:block;width:100%;max-width:none}
.combo8-visuals .screen-zoom>span{display:block;margin-top:12px;font-size:.875rem;line-height:1.5}
@media(min-width:761px){
  .product-grid{grid-template-rows:repeat(6,auto);row-gap:0}
  .product-grid>.product{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:subgrid;grid-row:span 6;row-gap:0}
  .product-grid>.product>.pill{grid-row:1;justify-self:start;align-self:start}
  .product-grid>.product>h3{grid-row:2}
  .product-grid>.product>p{grid-row:3}
  .product-grid>.product>.v6-product-proof{grid-row:4}
  .product-grid>.product>.product-visual{grid-row:5;align-self:start}
  .product-grid>.product>.product-bottom{grid-row:6;align-self:start}
  .research-regions{grid-template-rows:repeat(4,auto);row-gap:0}
  .research-regions>article{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:subgrid;grid-row:span 4;row-gap:0}
  .research-regions>article>.eyebrow{grid-row:1}
  .research-regions>article>h3{grid-row:2}
  .research-regions>article>p{grid-row:3}
  .research-regions>article>.research-institutions{grid-row:4}
  .combo8-visuals{grid-template-rows:auto auto;row-gap:0}
  .combo8-visuals article{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:subgrid;grid-row:span 2;row-gap:0}
}
@media(min-width:1001px){
  .product-body .sq-app-grid{grid-template-rows:auto auto;row-gap:20px}
  .product-body .sq-app-grid article{grid-template-columns:minmax(0,1fr);grid-template-rows:subgrid;grid-row:span 2;row-gap:20px}
  .product-body .sq-app-copy{grid-row:1}
  .product-body .sq-app-grid figure{grid-row:2;align-self:start}
  .product-body .sq-app-grid .screen-zoom img{height:280px;width:auto;max-width:100%;object-fit:contain}
}
@media(max-width:760px){
  .combo8-visuals{grid-template-columns:minmax(0,1fr);gap:32px}
  .combo8-visuals h3{font-size:1.25rem;margin-bottom:14px}
}
@media(max-width:640px){
  .v8-reuse-flow{row-gap:28px}
  .v8-reuse-flow li:not(:last-child)::after{left:50%;right:auto;top:auto;bottom:-24px;width:20px;height:20px;line-height:20px;text-align:center;transform:translateX(-50%)}
}

.combo8-visuals figure{height:100%}
.combo8-visuals .screen-zoom{height:100%;display:flex;flex-direction:column;justify-content:space-between;align-items:stretch}
.combo8-visuals .screen-zoom img{flex-shrink:0}
dialog:has(.zoomed-screen img[src*="combination-"]){max-width:1080px;width:94%;padding:28px}

/* Product overview phones share a frame; longer source content crops at the bottom. */
.product-visual>.product-main-phone{order:0;position:relative;width:43%;max-width:210px;aspect-ratio:552/1271;flex-shrink:0;align-self:flex-start;overflow:hidden;box-sizing:border-box;border:2px solid #111216;border-bottom-width:7px;border-radius:22px;background:#111216;box-shadow:0 12px 25px #12295a15}
.product-visual>.product-main-phone>img{display:block;width:100%;max-width:none;height:101.1%;margin-top:-2.5%;object-fit:cover;object-position:center top;border:0;border-radius:19px 19px 16px 16px;box-shadow:none}
