/* Inner pages, mobile first: one soft lit canvas instead of alternating colour bands, a light
   intro with a rounded base, white liquid glass for content, and deep forest glass panels for the
   dark moments. Phone styles are the base; larger screens add space and columns. */
.inner-page{--ink:#122a1b;--forest:#183f29;--green:#205732;--glass:linear-gradient(150deg,rgba(255,255,255,.8),rgba(255,255,255,.5));--glass-edge:rgba(255,255,255,.92);--glass-shadow:inset 0 1px 0 #fff,0 18px 44px rgba(20,60,35,.08);--out:cubic-bezier(.16,1,.3,1);position:relative;background:radial-gradient(1100px 900px at 0% 12%,rgba(71,155,32,.15),transparent 70%),radial-gradient(1000px 800px at 100% 38%,rgba(168,237,125,.2),transparent 70%),radial-gradient(1100px 900px at 0% 66%,rgba(32,87,50,.1),transparent 72%),radial-gradient(900px 800px at 100% 92%,rgba(168,237,125,.16),transparent 70%),#eef3ec;color:var(--ink)}

/* A light opening canvas sits beneath the separate deep green navigation. */
.inner-page  :is(main,.case-panel)>.page-hero{position:relative;isolation:isolate;overflow:hidden;padding-bottom:56px;border-radius:0 0 28px 28px;background:radial-gradient(80% 100% at 100% 30%,rgba(168,237,125,.2),transparent 75%),#f4f7f0;color:var(--ink);box-shadow:0 18px 48px rgba(20,60,35,.05)}
.inner-page  :is(main,.case-panel)>.page-hero:after{content:'';position:absolute;inset:auto 0 0;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent)}
.inner-page .page-hero h1,
.inner-page .page-hero h2.study-title{max-width:13em;font-size:clamp(36px,9.4vw,66px);line-height:1.04;letter-spacing:-.045em;color:var(--green)}
.inner-page .page-hero p{max-width:34em;margin-top:18px;font-size:17px;line-height:1.6;color:#3d4a42}
.inner-page .page-hero .proposition{margin-top:18px;font-size:20px;font-weight:600;letter-spacing:-.02em;color:var(--green)}
.inner-page .page-hero .button{display:inline-flex;align-items:center;justify-content:center;min-height:52px;margin-top:26px;padding:12px 26px;border:0;border-radius:999px;background:var(--forest);color:#fff;font-size:16px;font-weight:600;box-shadow:0 12px 30px rgba(20,60,35,.15);transition:transform .35s var(--out),background .25s}
.inner-page .service-hero-grid{display:grid;gap:32px}
.inner-page .support-image{padding:8px;border:1px solid var(--glass-edge);border-radius:22px;background:var(--glass);box-shadow:var(--glass-shadow);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.inner-page .support-image img{display:block;width:100%;border-radius:15px}

/* Sections share the canvas; spacing does the separating rather than colour blocks. */
.inner-page  :is(main,.case-panel)>.section,.inner-page  :is(main,.case-panel)>.section.soft,.inner-page  :is(main,.case-panel)>.question-group{padding-block:56px;background:transparent;color:var(--ink)}
.inner-page  :is(main,.case-panel)>.section+.section{padding-top:8px}
.inner-page .section-heading{max-width:640px;margin-bottom:24px}
.inner-page .section-heading h2,.inner-page .content-columns>h2,.inner-page  :is(main,.case-panel)>.section h2{font-size:clamp(30px,7.6vw,46px);font-weight:500;line-height:1.08;letter-spacing:-.04em;color:var(--forest)}
.inner-page .section-heading p{margin-top:14px;font-size:16px;line-height:1.6;color:#3d4a42}
.inner-page .text-link{color:var(--green);text-decoration-color:rgba(32,87,50,.35);text-underline-offset:5px}

/* White liquid glass for every card, panel and question. */
.inner-page .card,.inner-page .content-columns .prose,.inner-page .faq details,.inner-page  :is(main,.case-panel)>.section>.prose.wrap{border:1px solid var(--glass-edge);border-radius:22px;background:var(--glass);box-shadow:var(--glass-shadow);backdrop-filter:blur(18px) saturate(150%);-webkit-backdrop-filter:blur(18px) saturate(150%)}
.inner-page .card{padding:22px;color:var(--ink)}
.inner-page .card h2,.inner-page .card h3{font-size:21px;font-weight:600;line-height:1.2;letter-spacing:-.02em;color:var(--forest)}
.inner-page .card p{margin-top:10px;font-size:15px;line-height:1.6;color:#3d4a42}

/* Phone card rows swipe sideways, with the next card peeking to show there is more. */
.inner-page .grid-three{display:flex;gap:12px;margin-inline:calc(var(--gutter,20px) * -1);padding:4px var(--gutter,20px) 18px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:var(--gutter,20px);scrollbar-width:none}
.inner-page .grid-three::-webkit-scrollbar{display:none}
.inner-page .grid-three>*{flex:0 0 82%;min-width:0;scroll-snap-align:start}

/* Text sections: heading, then the copy in one glass panel. */
.inner-page .content-columns{display:grid;gap:20px}
.inner-page .content-columns .prose{padding:24px 22px}
.inner-page .prose p,.inner-page .prose li{font-size:16px;line-height:1.7;color:#2f3d34}
.inner-page .prose p+p{margin-top:14px}
.inner-page .prose h3{margin-top:26px;font-size:20px;color:var(--forest)}
.inner-page .prose .button{margin-top:22px}

/* Long legal text (compliance, privacy) reads as one glass sheet. */
.inner-page  :is(main,.case-panel)>.section>.prose.wrap{width:auto;max-width:860px;margin-inline:12px;padding:28px 22px}
.inner-page .prose.wrap h2{margin-top:30px;font-size:24px}
.inner-page .prose.wrap>h2:first-child{margin-top:0}

/* Questions: one glass row each, with a turning plus. */
.inner-page .faq{display:grid;gap:10px}
.inner-page .faq details{padding:0;border-radius:18px;overflow:hidden}
.inner-page .faq summary{position:relative;display:block;margin:0;padding:18px 52px 18px 20px;font-size:16px;font-weight:600;line-height:1.4;color:var(--forest);cursor:pointer;list-style:none}
.inner-page .faq summary::-webkit-details-marker{display:none}
.inner-page .faq summary:after{content:'';position:absolute;top:calc(50% - 6px);top:round(calc(50% - 6px),1px);right:20px;width:12px;height:12px;background:linear-gradient(currentColor,currentColor) 0 5px/12px 2px no-repeat,linear-gradient(currentColor,currentColor) 5px 0/2px 12px no-repeat;transition:transform .35s var(--out)}
.inner-page .faq details[open] summary:after{transform:rotate(45deg)}
.inner-page .faq details>p{padding:0 20px 20px;font-size:15px;line-height:1.65;color:#3d4a42}

/* Buttons on the light canvas are deep forest pills. */
.inner-page  :is(main,.case-panel)>.section .button{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:12px 24px;border:0;border-radius:999px;background:var(--forest);color:#fff;font-size:15px;font-weight:600;box-shadow:0 10px 24px rgba(20,60,35,.18);transition:transform .35s var(--out),background .25s}

/* Page jumps (FAQs): glass chips that scroll sideways on a phone. */
.inner-page .page-jumps{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin-top:22px}
.inner-page .page-jumps::-webkit-scrollbar{display:none}
.inner-page .page-jumps a{flex:none;padding:10px 18px;border:1px solid var(--glass-edge);border-radius:999px;background:var(--glass);box-shadow:inset 0 1px 0 #fff,0 8px 20px rgba(20,60,35,.07);color:var(--forest);font-size:14px;font-weight:600;text-decoration:none;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);transition:background .25s,color .25s}
.inner-page .page-hero .page-jumps a{border-color:var(--glass-edge);background:var(--glass);color:var(--forest)}
@media(hover:hover){.inner-page .page-jumps a:hover{background:var(--forest);color:#fff}}
.inner-page .pricing-value{color:var(--green)}

/* Dark moments become inset deep forest glass panels instead of full-width blocks. */
.inner-page  :is(main,.case-panel)>.dark,.inner-page  :is(main,.case-panel)>.founders{padding-block:24px 56px;background:transparent}
.inner-page  :is(main,.case-panel)>.dark>.wrap,.inner-page  :is(main,.case-panel)>.founders>.wrap{position:relative;overflow:hidden;padding:40px 22px;border:1px solid rgba(255,255,255,.14);border-radius:28px;background:radial-gradient(90% 70% at 100% 0%,rgba(168,237,125,.12),transparent 60%),linear-gradient(160deg,#1f5133,#12301f);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 28px 60px rgba(9,27,16,.2)}
.inner-page  :is(main,.case-panel)>.dark h2,.inner-page  :is(main,.case-panel)>.founders h2{color:#fff}
.inner-page  :is(main,.case-panel)>.dark p,.inner-page .founders-heading p{color:rgba(255,255,255,.76)}
.inner-page  :is(main,.case-panel)>.dark .button{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:12px 26px;border:0;border-radius:999px;background:#fff;color:var(--forest);font-size:16px;font-weight:600;box-shadow:0 12px 28px rgba(4,16,9,.25)}
.inner-page  :is(main,.case-panel)>.dark .text-link{color:#fff;text-decoration-color:rgba(255,255,255,.4)}
.inner-page  :is(main,.case-panel)>.final-cta>.wrap{text-align:center;padding-block:52px}
.inner-page  :is(main,.case-panel)>.final-cta h2{margin-inline:auto;max-width:14em;font-size:clamp(30px,7.6vw,44px);line-height:1.1;letter-spacing:-.04em}
.inner-page  :is(main,.case-panel)>.final-cta p{max-width:30em;margin:14px auto 0}
.inner-page  :is(main,.case-panel)>.final-cta .button{margin-top:26px}
.inner-page .founder{border:1px solid rgba(255,255,255,.18);border-radius:22px;background:linear-gradient(150deg,rgba(255,255,255,.12),rgba(255,255,255,.04));box-shadow:inset 0 1px 0 rgba(255,255,255,.18);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.inner-page .founder-copy{padding:22px}
.inner-page .client-result-quote,.inner-page .case-impact{border-color:rgba(255,255,255,.2);background:linear-gradient(150deg,rgba(255,255,255,.12),rgba(255,255,255,.04));backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}

/* Product images on the canvas sit in a glass frame. */
.inner-page  :is(main,.case-panel)>.section .product-image,.inner-page .grid-two>img{display:block;width:100%;border-radius:18px;box-shadow:0 0 0 8px rgba(255,255,255,.55),0 0 0 9px rgba(255,255,255,.95),0 26px 56px rgba(20,60,35,.14)}
.inner-page  :is(main,.case-panel)>.section .product-image{box-shadow:0 26px 56px rgba(20,60,35,.14)}
.inner-page .grid-two{display:grid;gap:28px;align-items:center}
.inner-page .section-note{margin-top:22px;font-size:14px;color:#56635a}

@media(hover:hover){
  .inner-page .page-hero .button:hover{transform:translateY(-2px);background:var(--green)}
  .inner-page  :is(main,.case-panel)>.dark .button:hover{transform:translateY(-2px);background:#f2f6ef}
  .inner-page  :is(main,.case-panel)>.section .button:hover{transform:translateY(-2px);background:var(--green)}
  .inner-page .faq summary:hover{color:var(--green)}
}

/* Tablets and up: rows become grids and everything gets more air. */
@media(min-width:700px){
  .inner-page .grid-three{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-inline:0;padding:0;overflow:visible}
  .inner-page .grid-three>*{min-width:0}
  .inner-page .card{padding:26px}
  .inner-page .grid-two{grid-template-columns:1.6fr .9fr}
  .inner-page  :is(main,.case-panel)>.dark>.wrap,.inner-page  :is(main,.case-panel)>.founders>.wrap{padding:56px 48px;border-radius:32px}
}
@media(min-width:851px){
  .inner-page  :is(main,.case-panel)>.page-hero{padding-bottom:88px;border-radius:0 0 40px 40px}
  .inner-page .service-hero-grid{grid-template-columns:1.05fr .95fr;align-items:center;gap:56px}
  .inner-page .page-hero p{font-size:19px}
  .inner-page  :is(main,.case-panel)>.section,.inner-page  :is(main,.case-panel)>.section.soft,.inner-page  :is(main,.case-panel)>.question-group{padding-block:96px}
  .inner-page  :is(main,.case-panel)>.section+.section{padding-top:24px}
  .inner-page .section-heading{margin-bottom:36px}
  .inner-page .grid-three{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
  .inner-page .content-columns{grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr);gap:56px;align-items:start}
  .inner-page .content-columns .prose{padding:36px 40px}
  .inner-page  :is(main,.case-panel)>.section>.prose.wrap{margin-inline:auto;padding:56px 64px;border-radius:30px}
  .inner-page .faq summary{padding:20px 56px 20px 24px;font-size:17px}
  .inner-page .faq details>p{padding:0 24px 22px;font-size:16px}
  .inner-page  :is(main,.case-panel)>.dark,.inner-page  :is(main,.case-panel)>.founders{padding-block:40px 96px}
  .inner-page  :is(main,.case-panel)>.dark>.wrap,.inner-page  :is(main,.case-panel)>.founders>.wrap{max-width:calc(var(--wrap,1200px) - 2 * var(--gutter,20px));padding:72px 64px;border-radius:36px}
  .inner-page  :is(main,.case-panel)>.final-cta>.wrap{padding-block:88px}
}
@media(prefers-reduced-motion:reduce){.inner-page .button,.inner-page .faq summary:after{transition:none}}
@media(prefers-reduced-transparency:reduce){.inner-page .card,.inner-page .content-columns .prose,.inner-page .faq details{background:#fbfcfa;backdrop-filter:none;-webkit-backdrop-filter:none}.inner-page .support-image,.inner-page .founder,.inner-page .client-result-quote{backdrop-filter:none;-webkit-backdrop-filter:none}}

/* Page-specific storytelling, scoped away from the homepage. */
.inner-page.story-page{background:#f5f7f0;--story-line:rgba(32,87,50,.16);--story-ease:cubic-bezier(.2,.75,.2,1)}
.story-page main{overflow:clip}
.story-page  :is(main,.case-panel)>.page-hero{border-radius:0;background:radial-gradient(ellipse at 90% 45%,#dcebcf 0,transparent 60%),#f5f7f0;box-shadow:none;padding-bottom:76px}
.story-page .hero-layout{display:grid;gap:42px;align-items:center}
.story-page .page-hero h1,
.story-page .page-hero h2.study-title{font-size:clamp(42px,5.4vw,76px);max-width:12em;line-height:1.02;font-weight:500;letter-spacing:-.055em}
.story-page .page-hero h1 span,
.story-page .page-hero h2.study-title span{color:#4d7953}
.story-page .page-hero p{max-width:32em;font-size:17px}
.story-page .hero-actions{display:flex;gap:18px 24px;align-items:center;flex-wrap:wrap;margin-top:26px}
.story-page .page-hero .hero-actions .button{margin:0}
.story-page .hero-actions .text-link{font-size:14px}
.story-page .hero-footnote{font-size:13px!important;margin-top:18px!important;color:#5d6c5f!important}
.story-page .hero-stamp{display:inline-flex;gap:10px;align-items:center;margin-top:24px;font-size:15px;font-weight:600;color:var(--forest)}
.hero-stamp:before{content:'';width:7px;height:7px;border-radius:50%;background:#479b20;box-shadow:0 0 0 5px #479b2014}
.story-page  :is(main,.case-panel)>.section,.story-page  :is(main,.case-panel)>.section.soft{padding-block:64px}
.story-page  :is(main,.case-panel)>.section+.section{padding-top:40px}
.story-page .story-heading{max-width:740px;margin-bottom:32px}
.story-page .story-heading h2,.story-page .editorial-copy h2{font-size:clamp(34px,4vw,55px);line-height:1.06;font-weight:500;letter-spacing:-.045em}
.story-page .story-heading p,.story-page .editorial-copy>p{margin-top:20px;color:#4b5b4e;max-width:38em}
.story-page .section-index{display:block;font-size:13px;letter-spacing:.04em;color:#5e7561;margin-bottom:20px}
.story-page .editorial-grid{display:grid;gap:36px;align-items:center}
.story-page .editorial-copy .text-link{margin-top:24px}
.story-page .story-rule{height:1px;background:var(--story-line);margin:0 var(--gutter)}
.story-page .mini-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-block:1px solid var(--story-line);padding-block:26px;gap:18px}
.story-page .mini-facts strong{display:block;font-size:clamp(24px,3vw,38px);font-weight:500;line-height:1.15;letter-spacing:-.04em;color:var(--forest)}
.story-page .mini-facts span{display:block;margin-top:7px;font-size:12px;color:#536757;line-height:1.5}
.device-scene{position:relative;isolation:isolate;aspect-ratio:1.13;width:100%;display:flex;align-items:center;padding:8% 8% 16% 2%}
.device-scene:before{content:'';position:absolute;inset:9% 2% 3% 8%;border:1px solid #fff9;border-radius:50%;background:linear-gradient(140deg,#e1ebd8,#ccddc5);z-index:-1}
.device-scene:after{content:'';position:absolute;inset:0 0 8% 14%;border:1px solid #c6d8bc;border-radius:50%;z-index:-1;transform:rotate(-20deg)}
.browser-device{width:100%;border:5px solid #000;border-radius:15px;background:#eef3e8;box-shadow:0 30px 55px #1d3f2729;transform:rotate(-5deg);overflow:hidden;transition:transform .7s var(--story-ease)}
.browser-bar{display:flex;align-items:center;gap:4px;height:24px;background:#e6ece3;border-bottom:1px solid #d3dfcf;padding:0 9px;color:#425946;font-size:8px;line-height:1}
.browser-bar:before{content:'● ● ●';font-size:7px;color:#839b7d;letter-spacing:1px;margin-right:auto}
.browser-bar:after{content:'';width:32px}
.browser-device img{width:100%;aspect-ratio:14/9;object-fit:cover;object-position:top}
.phone-device{position:absolute;right:1%;bottom:1%;width:28%;border:5px solid #000;border-radius:22px;overflow:hidden;background:#fff;box-shadow:0 22px 40px #17362233;transform:rotate(7deg);transition:transform .7s var(--story-ease)}
.phone-device:before{content:'';position:absolute;z-index:1;top:4px;left:32%;width:36%;height:7px;border-radius:20px;background:#000}
.phone-device img{width:100%;aspect-ratio:440/880;object-fit:cover;object-position:top}
.scene-label{position:absolute;left:0;bottom:0;padding:12px 16px;border:1px solid #fff;border-radius:14px;background:#ffffffc9;backdrop-filter:blur(20px);box-shadow:0 10px 30px #23472b0d;font-size:12px;line-height:1.5;max-width:65%;color:var(--forest)}
.scene-label strong{display:block;font-weight:600}
.story-page .feature-grid{display:grid;gap:0;border-top:1px solid var(--story-line)}
.story-page .feature-item{position:relative;padding:26px 0;border-bottom:1px solid var(--story-line)}
.feature-number{display:block;font-size:13px;color:#648268;margin-bottom:20px}
.story-page .feature-item h3{font-size:22px;font-weight:500;letter-spacing:-.025em;line-height:1.2}
.story-page .feature-item p{color:#516154;font-size:15px;line-height:1.65;margin-top:12px;max-width:35em}
.story-page .feature-item svg{width:28px;height:28px;stroke:#487550;stroke-width:1.4;fill:none;margin-bottom:18px}
.story-page .showcase-panel{padding:28px;border:1px solid #fff;border-radius:28px;background:linear-gradient(130deg,#e5ecdd,#d7e5cc);overflow:hidden}
.story-page .showcase-panel .device-scene{max-width:720px;margin:auto}
.story-page .project-caption{display:flex;gap:12px;justify-content:space-between;padding-top:24px;border-top:1px solid #20573221;font-size:13px;color:#49624d}
.story-page .project-caption strong{font-weight:600}
.story-page .payment-path{display:grid;gap:0;margin-top:32px;border-top:1px solid var(--story-line)}
.payment-path>div{padding:24px 0;border-bottom:1px solid var(--story-line)}
.payment-path strong{display:block;font-size:32px;line-height:1.15;font-weight:500;letter-spacing:-.04em;color:var(--forest)}
.payment-path span{display:block;font-size:14px;margin-top:8px;color:#56685a}
.story-page .quiet-note{font-size:14px;line-height:1.65;color:#5d6c60;margin-top:24px;max-width:42em}
.story-page .content-columns .prose{border:0;border-radius:0;background:none;box-shadow:none;padding:0;backdrop-filter:none}
.story-page .content-columns{gap:26px}
.story-page .content-columns>h2{font-size:clamp(30px,3.5vw,45px);font-weight:500}
.story-page .faq-layout{display:grid;gap:30px}
.story-page .faq details{background:#ffffff80;box-shadow:none;border:1px solid #dce5d7;border-radius:16px}
.story-page  :is(main,.case-panel)>.final-cta{padding-block:40px 72px}
@media(max-width:999px){.story-page  :is(main,.case-panel)>.final-cta>.wrap{box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 20px 44px rgba(9,27,16,.2)}}
.story-page  :is(main,.case-panel)>.final-cta>.wrap{max-width:calc(1240px - 2 * var(--gutter));width:calc(100% - 2 * var(--gutter));padding:64px 24px;isolation:isolate;background:radial-gradient(ellipse at 100% 0,#527b42 0,transparent 55%),#183f29}
.story-page  :is(main,.case-panel)>.final-cta>.wrap:before,.story-page  :is(main,.case-panel)>.final-cta>.wrap:after{content:'';position:absolute;width:400px;height:400px;border:1px solid #ffffff15;border-radius:50%;z-index:-1;pointer-events:none}
.story-page  :is(main,.case-panel)>.final-cta>.wrap:before{left:-200px;top:-130px}
.story-page  :is(main,.case-panel)>.final-cta>.wrap:after{right:-210px;bottom:-270px}
.story-page  :is(main,.case-panel)>.final-cta h2{font-weight:500;max-width:16em;font-size:clamp(34px,4vw,55px)}
.story-page  :is(main,.case-panel)>.final-cta p{font-size:16px}
/* Automation is a living process diagram, with every step available by keyboard. */
.workflow{position:relative;padding:26px 20px;border:1px solid #fff;border-radius:28px;background:linear-gradient(140deg,#ffffffbd,#e3ecdbb3);box-shadow:inset 0 1px 0 #fff,0 24px 64px #234b2d12;backdrop-filter:blur(18px)}
.workflow-header{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:13px;color:#627367;margin-bottom:22px}
.workflow-header strong{font-weight:500;color:var(--forest)}
.flow-controls{border:1px solid #c8d7c0;border-radius:999px;background:#ffffffa8;font-size:12px;color:var(--forest);padding:6px 12px;min-height:36px}
.flow-nodes{display:grid;gap:20px;position:relative}
.flow-nodes:before{content:'';position:absolute;left:25px;top:20px;bottom:20px;width:1px;background:#9fbc94}
.flow-node{position:relative;display:flex;align-items:center;gap:14px;width:100%;text-align:left;padding:14px;border:1px solid #fff;border-radius:16px;background:#ffffff9c;color:#31543a;box-shadow:0 5px 18px #20432908;transition:background .4s,transform .4s,border-color .4s}
.flow-node>span:first-child{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#e9efdf;flex:none;font-size:12px}
.flow-node strong{display:block;font-size:15px;font-weight:600}
.flow-node small{display:block;font-size:12px;color:#637566;margin-top:2px}
.flow-node[aria-pressed=true]{background:#205732;color:#fff;border-color:#205732;transform:translateX(5px)}
.flow-node[aria-pressed=true]>span:first-child{background:#ffffff20}
.flow-node[aria-pressed=true] small{color:#ffffffbd}
.flow-node:after{content:'✓';margin-left:auto;color:#6b8b5c;font-size:16px}
.flow-node[aria-pressed=true]:after{color:#c1e5a8}
.workflow-detail{display:grid;border-top:1px solid #c9d7c2;padding-top:18px;margin-top:24px}
.story-page .page-hero .workflow-detail p{grid-area:1/1;visibility:hidden;max-width:none;margin:0;font-size:13px;line-height:1.6;color:#506654}
.story-page .page-hero .workflow-detail p.is-active{visibility:visible}
.story-page .result-band{background:#e3ecd9;border-block:1px solid #d5e1ca;padding-block:36px!important}
.result-band .wrap{display:flex;gap:22px 40px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.result-time{display:flex;align-items:baseline;gap:14px;color:var(--forest);white-space:nowrap;line-height:1}
.result-time strong{font-size:clamp(40px,5vw,68px);font-weight:500;letter-spacing:-.06em}
.result-time .old-time{color:#7c8d75;font-size:clamp(28px,3vw,42px)}
.result-time .result-arrow{font-size:25px;font-weight:400}
.result-band p{font-size:14px;color:#4b644d;max-width:24em}
.story-page .process-list{list-style:none;padding:0;margin:0;counter-reset:delivery}
.process-list li{padding:28px 0 28px 52px;border-top:1px solid var(--story-line);position:relative;counter-increment:delivery}
.process-list li:before{content:'0' counter(delivery);position:absolute;left:0;top:30px;font-size:13px;color:#6e8768}
.story-page .process-list h3{font-size:23px;font-weight:500}
.process-list p{font-size:15px;color:#536356;line-height:1.65;margin-top:12px}
.story-page  :is(main,.case-panel)>.client-results>.wrap{max-width:calc(1240px - 2 * var(--gutter));width:calc(100% - 2 * var(--gutter));padding:40px 24px}
.story-page .client-result-quote{background:transparent;border:0;backdrop-filter:none;padding:0}
.story-page .client-result{display:grid;gap:32px;align-items:center;max-width:none;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none;overflow:visible}
.story-page .client-result-figure{padding:0}
.story-page .client-result-row{gap:10px 14px}
.story-page .client-result-row strong{font-size:clamp(30px,4.2vw,58px);font-weight:500}
.story-page .client-result-quote{border-top:1px solid #ffffff2a;padding-top:28px}
.story-page .client-result-quote blockquote{font-size:clamp(18px,2vw,25px);line-height:1.55;letter-spacing:-.015em}
.story-page .client-result-context{font-size:14px!important}
/* Software: an overview and a hands-on view of real screens. */
.software-scene .browser-device{transform:rotate(-3deg)}
.software-scene .phone-device{width:29%;transform:rotate(5deg)}
.software-explorer{display:grid;gap:36px;align-items:center}
.screen-options{display:grid;gap:10px;margin-top:30px}
.screen-option{position:relative;border:1px solid transparent;border-top-color:var(--story-line);border-radius:0;background:transparent;padding:20px;text-align:left;color:var(--forest);transition:background .3s,border-color .3s}
.screen-option strong{display:block;font-size:20px;font-weight:500;line-height:1.25;letter-spacing:-.02em}
.screen-option span{display:block;font-size:14px;color:#57685b;line-height:1.65;margin-top:8px}
.screen-option[aria-pressed=true]{border:1px solid #ceddc3;background:#e4ecdc;border-radius:18px}
.screen-stage{position:relative;display:grid;place-items:center;background:radial-gradient(ellipse at center,#dae7ce,transparent 68%);min-height:540px;padding:25px}
.screen-stage:before,.screen-stage:after{content:'';position:absolute;inset:14% 0;border:1px solid #ccdbc2;border-radius:50%;transform:rotate(-28deg)}
.screen-stage:after{inset:6% 8%;transform:rotate(28deg)}
.screen-phone{position:relative;width:260px;max-width:80%;padding:7px;border-radius:32px;background:#000;box-shadow:0 25px 50px #284a2b30;transform:rotate(3deg);z-index:1}
.screen-phone img{width:100%;aspect-ratio:520/853;object-fit:cover;object-position:top;border-radius:24px;background:#f9f7ed}
.screen-stage .scene-label{z-index:2;left:2%;bottom:7%;font-size:12px}
@keyframes screen-reveal{from{opacity:.3;transform:translateY(6px)}to{opacity:1;transform:none}}
.story-page .software-wide{padding:28px 20px;border-radius:28px;background:#e4eadd;border:1px solid #fff}
.story-page .software-wide .browser-device{transform:none;border-width:6px;box-shadow:0 20px 44px #21402a1a}
.story-page .software-wide .browser-device img{aspect-ratio:14/9}
/* About: the people lead, with a more editorial origin story. */
.people-scene{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:stretch;padding:16px 0 32px}
.portrait-link{display:grid;grid-template-rows:auto 1fr;position:relative;transform:none;margin-top:0}
.portrait-link+ .portrait-link{transform:none;margin-top:0}
.portrait-link img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:100px 100px 22px 22px;box-shadow:0 22px 40px #21452a24}
.portrait-label{position:relative;display:block;margin:-26px 8px 0;padding:14px;border:1px solid #fff;border-radius:15px;background:#ffffffe3;backdrop-filter:blur(18px);color:var(--forest);font-size:13px;line-height:1.5;box-shadow:0 8px 22px #24452a10}
.portrait-label strong{display:block;font-size:18px;font-weight:500}
.people-scene:before{content:'';position:absolute;inset:10% -4% 5%;border:1px solid #c8d9bf;border-radius:50%;transform:rotate(-16deg)}
.story-page .origin-story{align-items:start}
.story-page .origin-story .editorial-copy h2{max-width:10em}
.story-page .origin-story .editorial-copy p{font-size:17px;line-height:1.8}
.origin-photo{position:relative;overflow:hidden;border-radius:28px;box-shadow:0 24px 50px #21452a1a}
.origin-photo img{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:56% center}
.origin-photo figcaption{position:absolute;inset:auto 20px 20px;padding:22px;border:1px solid #fff;border-radius:18px;background:#f5f7f0e8;backdrop-filter:blur(20px);color:var(--forest);font-size:clamp(24px,2.4vw,34px);font-weight:500;line-height:1.12;letter-spacing:-.035em}
.story-page  :is(main,.case-panel)>.founders{background:transparent;padding:40px 0 64px}
.story-page  :is(main,.case-panel)>.founders>.wrap{background:none;box-shadow:none;border:0;color:var(--ink);padding:0 var(--gutter);max-width:1240px;overflow:visible}
.story-page  :is(main,.case-panel)>.founders h2{color:var(--forest);font-weight:500;font-size:clamp(34px,4vw,55px)}
.story-page .founders-heading p{color:#536356}
.story-page .founder-grid{display:grid;grid-template-columns:1fr;gap:56px}
.story-page .founder{display:grid;grid-template-columns:1fr;background:none;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;overflow:visible;scroll-margin-top:120px}
.story-page .founder-photo{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:24px;max-width:380px}
.story-page .founder-copy{padding:26px 0 0}
.story-page .founder-copy h3{font-size:32px;font-weight:500;color:var(--forest)}
.story-page :is(#harvey-name,#will-name){scroll-margin-top:150px}
.story-page .founder-role{color:#658064;font-size:15px}
.story-page .founder-bio{color:#4e6053;margin-top:22px;font-size:15px;line-height:1.8}
.story-page .founder-bio p{color:#4e6053}
/* Pricing and the case study have their own visual anchors. */
.pricing-hero .hero-layout{align-items:end}
.consultation-note{padding:30px;border:1px solid #fff;border-radius:28px;background:#ffffff90;box-shadow:0 20px 50px #20472b0a}
.story-page .consultation-note h2{font-size:clamp(27px,2.8vw,36px);font-weight:500;line-height:1.1;color:var(--forest);letter-spacing:-.035em;max-width:12em}
.consultation-steps{list-style:none;padding:0;margin:28px 0 0;counter-reset:consultation}
.consultation-steps li{position:relative;padding:20px 0 20px 42px;border-top:1px solid var(--story-line);counter-increment:consultation}
.consultation-steps li:before{content:'0' counter(consultation);position:absolute;left:0;top:22px;font-size:12px;color:#6a8464}
.consultation-steps strong{font-size:16px;font-weight:600;color:var(--forest);line-height:1.3;display:block}
.story-page .page-hero .consultation-steps p{font-size:14px;line-height:1.6;margin-top:8px;color:#536456}
.consultation-steps li:last-child{padding-bottom:0}
.admin-snapshot-eyebrow{font-size:13px;letter-spacing:.04em;color:#5e7561}
.story-page .admin-snapshot h3{margin-top:10px;font-size:clamp(27px,2.8vw,36px);font-weight:500;line-height:1.1;color:var(--forest);letter-spacing:-.035em;max-width:12em}
.story-page .admin-tasks{margin-top:24px}
.story-page .admin-tasks li{padding-block:16px}
.story-page .admin-tasks li:before{top:18px}
.story-page .admin-tasks p{font-size:14px;line-height:1.6;margin-top:6px;color:#536456}
.story-page .admin-tasks li:last-child{padding-bottom:16px;border-bottom:1px solid var(--story-line)}
.story-page .admin-snapshot .text-link{display:inline-block;margin-top:22px;font-size:14px}
:is(.story-page,.compliance-page) .pricing-overview{display:grid;grid-template-columns:1fr;gap:16px;margin:0;padding:0;overflow:visible}
:is(.story-page,.compliance-page) .pricing-overview .card{border-radius:24px;box-shadow:0 14px 40px #25432c08;padding:30px;min-width:0}
:is(.story-page,.compliance-page) .pricing-overview .card h2{font-size:26px;font-weight:500}
:is(.story-page,.compliance-page) .pricing-overview .pricing-value{font-size:28px;min-height:0;line-height:1.15;max-width:10em}
:is(.story-page,.compliance-page) .pricing-overview .text-link{padding-top:20px}
.story-page .case-hero{grid-template-columns:1fr}
.case-brand{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:32px;min-height:340px;padding:44px 28px;border:1px solid #ffffffb3;border-radius:32px;background:radial-gradient(ellipse at 100% 0,#54704a,transparent 70%),#205732;box-shadow:inset 0 1px 0 #ffffff30,0 24px 50px #21452a20}
.case-brand img{width:100%;max-width:280px;height:auto}
.case-brand figcaption{font-size:14px;line-height:1.6;color:#ffffffcf;text-align:center;border-top:1px solid #ffffff30;padding-top:24px;width:100%}
.story-page .case-impact-grid{column-gap:36px;row-gap:16px}
.story-page .case-impact{display:grid;grid-template-rows:subgrid;grid-row:span 5;row-gap:16px;align-items:start;background:none;box-shadow:none;border:0;border-top:1px solid var(--story-line);border-radius:0;padding:28px 0}
.story-page .case-impact h3{font-size:24px;font-weight:500;margin:0}
.story-page .case-impact h4{margin:0;font-weight:500;color:#668363}
.story-page .case-impact p{margin:0}
.story-page .case-impact h4~p:last-child{height:100%;padding:16px 20px;background:#e3ecd9;border-radius:14px;color:var(--forest)}
.story-page .case-stats>div{border:0;border-left:1px solid var(--story-line);border-radius:0;padding:10px 20px}
.story-page .case-stats strong{font-weight:500;font-size:clamp(40px,5vw,64px)}
.story-page .case-stats span{font-size:13px}
.information-page  :is(main,.case-panel)>.page-hero{box-shadow:none;border-radius:0;background:radial-gradient(ellipse at 95% 0,#e2ecd9,transparent 65%),#f5f7f0}
.information-page  :is(main,.case-panel)>.page-hero h1,.case-panel)>.page-hero h2.study-title{font-weight:500;font-size:clamp(40px,5vw,68px)}
.information-page .faq details{box-shadow:none}
.information-page  :is(main,.case-panel)>.section>.prose.wrap{box-shadow:0 18px 50px #22452b06}
/* Motion is opt-in after JS initialisation and never hides content without a fallback. */
@media(prefers-reduced-motion:no-preference){
 .story-page .reveal-ready [data-reveal]{opacity:0;transform:translateY(24px);transition:opacity .8s var(--story-ease),transform 1s var(--story-ease);transition-delay:var(--reveal-delay,0ms)}
 .story-page .reveal-ready [data-reveal].is-in-view{opacity:1;transform:none}
 .story-page .hero-visual{animation:visual-arrive 1.2s var(--story-ease) both}
 @keyframes visual-arrive{from{opacity:0;translate:0 25px}to{opacity:1;translate:0 0}}
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 .device-scene:hover .browser-device{transform:rotate(-2deg) translateY(-5px)}
 .device-scene:hover .phone-device{transform:rotate(3deg) translateY(-9px)}
 .portrait-link:hover .portrait-label{background:#fff;box-shadow:0 12px 28px #24452a24}
 .story-page .feature-item{transition:translate .4s var(--story-ease)}
 .story-page .feature-item:hover{translate:0 -4px}
}
@media(min-width:700px){
 .story-page .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:40px}
 :is(.story-page,.compliance-page) .pricing-overview{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
 .story-page .founder{grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:40px;align-items:center}
 .story-page .founder:nth-child(even){grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr)}
 .story-page .founder:nth-child(even) .founder-photo{order:2}
 .story-page .founder-copy{padding:0}
 .story-page .payment-path{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
 .story-page .mini-facts span{font-size:14px}
 .workflow{padding:30px}
 .story-page  :is(main,.case-panel)>.client-results>.wrap{padding:56px 40px}
}
@media(min-width:1000px){
 .story-page .hero-layout{grid-template-columns:1fr 1fr;gap:56px}
 .story-page .page-hero p{font-size:18px}
 .story-page  :is(main,.case-panel)>.page-hero{padding-bottom:96px}
 .story-page .hero-visual{margin-right:-20px}
 .story-page  :is(main,.case-panel)>.section,.story-page  :is(main,.case-panel)>.section.soft{padding-block:100px}
 .story-page  :is(main,.case-panel)>.section+.section{padding-top:60px}
 .story-page .editorial-grid{grid-template-columns:1fr 1fr;gap:80px}
 .story-page .feature-grid{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:36px}
 .story-page .feature-item{padding:32px 0}
 .story-page .faq-layout{grid-template-columns:.8fr 1.2fr;gap:80px}
 .story-page .faq-layout .story-heading{position:sticky;top:130px}
 .story-page .content-columns{gap:72px}
 .story-page .software-explorer{grid-template-columns:1fr .9fr;gap:80px}
 .story-page .screen-stage{min-height:620px}
 .story-page .screen-phone{width:285px}
 .story-page .founder-grid{gap:90px}
 .story-page .founder{gap:80px}
 .story-page .founder:nth-child(even){gap:80px}
 .story-page .founder-copy h3{font-size:40px}
 .story-page .founder-bio{font-size:16px}
 .story-page .showcase-panel{padding:48px}
 .story-page  :is(main,.case-panel)>.final-cta{padding-block:40px 100px}
 .story-page  :is(main,.case-panel)>.final-cta>.wrap{padding-block:88px}
 .story-page .case-hero{grid-template-columns:1.3fr .7fr}
 .story-page .client-result{grid-template-columns:.8fr 1.2fr;gap:60px}
 .story-page .client-result-quote{border-top:0;border-left:1px solid #ffffff2a;padding:0 0 0 40px}
 .case-brand{max-width:350px;margin-left:auto;width:100%}
}
@media(max-width:699px){
 .story-page .page-hero h1,
 .story-page .page-hero h2.study-title{font-size:clamp(39px,10.5vw,60px)}
 .story-page .hero-layout{gap:24px}
 .story-page  :is(main,.case-panel)>.page-hero{padding-top:calc(36px + var(--site-header-h,82px));padding-bottom:48px}
 .story-page .device-scene{max-width:560px;margin:0 auto}
 .story-page .showcase-panel{padding:20px 14px}
 .story-page .project-caption{flex-direction:column;gap:5px;font-size:12px}
 .story-page .mini-facts{gap:12px}
 .story-page .mini-facts strong{font-size:27px}
 .story-page .hero-stamp{font-size:14px}
 .story-page .result-band .wrap{display:grid;gap:16px}
 .story-page .screen-stage{min-height:480px;padding-inline:5px}
 .story-page .screen-phone{width:245px}
 .story-page .screen-stage .scene-label{bottom:0}
 .story-page .origin-photo img{aspect-ratio:4/3}
 .story-page .portrait-label{padding:10px;font-size:11px;margin-inline:2px}
 .story-page .portrait-label strong{font-size:17px}
 .story-page .people-scene{gap:12px}
 .story-page  :is(main,.case-panel)>.client-results>.wrap{padding:36px 22px}
 .story-page .client-result{gap:30px}
 .story-page .case-stats{grid-template-columns:1fr;gap:20px}
 .story-page .case-stats>div{display:flex;align-items:center;gap:20px;padding-block:0}
 .story-page .case-stats strong{min-width:70px}
 .case-brand{max-width:400px;min-height:280px;margin:auto;width:100%}
}
@media(max-width:600px){.story-page .case-impact{grid-template-rows:auto;grid-row:auto}}
@media(prefers-reduced-motion:reduce){.story-page [data-reveal]{opacity:1!important;transform:none!important}.story-page .hero-visual{animation:none}.story-page .screen-phone img{animation:none}.flow-node{transition:none}.story-page .screen-option{transition:none}}
@media(prefers-reduced-transparency:reduce){.story-page .workflow,.story-page .scene-label,.story-page .portrait-label,.story-page .consultation-note,.story-page .origin-photo figcaption{background:#f9fbf5;backdrop-filter:none}}

/* Floating navigation bar (30 Nov 2026): a touch wider, so it lines up with the page content instead of sitting just inside it */
.inner-page .site-header.is-floating{width:calc(min(100%, 1240px) - 2 * var(--gutter) + 8px)}

/* Client results: the Lilies Home Care story told as a journey through our three services.
   A light hero with one line from Diane and a map of the three projects, then a chapter each for
   recruitment automation, the website and the bespoke software, the result with Diane's full
   testimonial, and the dark closing band. Uses the Pricing card language (white cards, green
   accents) and the service page cards. */

/* Hero: one line from Diane, with her and the Lilies logo beneath */
.hero-quote{position:relative;margin:0;padding:84px 24px 24px;border:1px solid #fff;border-radius:28px;background:#ffffff94;box-shadow:0 20px 50px #20472b0f}
.hero-quote:before{content:'“';position:absolute;top:20px;left:20px;font-size:96px;font-weight:600;line-height:1;color:#b9d8a3;pointer-events:none}
.story-page .page-hero .hero-quote blockquote{max-width:none;margin:0;font-size:22px;font-weight:500;line-height:1.3;letter-spacing:-.03em;color:#183f29;text-wrap:balance}
.hero-quote figcaption{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:26px;padding-top:20px;border-top:1px solid #e3ecd9}
.hero-quote-who{display:flex;align-items:center;gap:14px;font-size:13px;line-height:1.4;color:#536456}
.hero-quote-who img{flex:none;width:48px;height:48px;border-radius:50%;object-fit:cover}
.hero-quote-who b{display:block;font-size:15px;font-weight:600;color:#205732}
.hero-quote-logo{flex:none;width:96px;height:auto}
.results-hero .hero-layout{align-items:center}
/* Sized to the copy column so the heading always sits on two lines, as on the service pages */
.results-page .hero-copy{container-type:inline-size}
.story-page.results-page .page-hero h1,
.story-page.results-page .page-hero h2.study-title{font-size:clamp(30px,10.5cqi,74px);max-width:none}

/* Before and after figures */
.result-figure{display:flex;flex-wrap:wrap;align-items:center;gap:2px 10px;margin:4px 0 0;font-size:22px;font-weight:600;line-height:1.1;letter-spacing:-.035em;color:#205732;white-space:nowrap}
.result-was{color:#8a988d;font-weight:500}
.result-figure svg{flex:none;width:.7em;height:.7em;fill:none;stroke:#479b20;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* The three projects as buttons: each one takes you straight to its chapter */
.story-page  :is(main,.case-panel)>.journey-map{padding-block:8px 24px}
.journey-steps{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.journey-steps a{display:flex;align-items:center;gap:14px;height:100%;padding:12px 12px 12px 12px;border:1px solid #cfdec4;border-radius:20px;background:#fff;box-shadow:0 10px 26px rgba(20,60,35,.06);color:inherit;text-decoration:none;transition:background-color .25s,border-color .25s,box-shadow .25s,translate .3s}
.journey-icon{flex:none;display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#e3ecd9;transition:background-color .25s}
.journey-icon svg{width:22px;height:22px;fill:none;stroke:#205732;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:stroke .25s}
.journey-text{flex:1;min-width:0}
.journey-steps strong{display:block;font-size:17px;font-weight:600;line-height:1.25;color:#183f29;transition:color .25s}
.journey-result{display:block;margin-top:2px;font-size:14px;line-height:1.4;color:#536456;transition:color .25s}
.journey-go{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#205732;transition:background-color .25s,translate .3s}
.journey-go svg{width:18px;height:18px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.journey-steps a:hover,.journey-steps a:focus-visible{border-color:#205732;background:#205732;box-shadow:0 16px 34px rgba(20,60,35,.18)}
.journey-steps a:hover strong,.journey-steps a:focus-visible strong{color:#fff}
.journey-steps a:hover .journey-result,.journey-steps a:focus-visible .journey-result{color:rgba(255,255,255,.78)}
.journey-steps a:hover .journey-icon,.journey-steps a:focus-visible .journey-icon{background:rgba(255,255,255,.14)}
.journey-steps a:hover .journey-icon svg,.journey-steps a:focus-visible .journey-icon svg{stroke:#fff}
.journey-steps a:hover .journey-go,.journey-steps a:focus-visible .journey-go{background:#479b20}
.journey-steps a:focus-visible{outline:2px solid #205732;outline-offset:3px}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .journey-steps a:hover{translate:0 -2px}
  .journey-steps a:hover .journey-go{translate:0 2px}
}
@media(prefers-reduced-motion:reduce){.journey-steps a,.journey-steps a *{transition:none}}

/* Chapters */
.chapter{scroll-margin-top:96px}
.story-page  :is(main,.case-panel)>.chapter-soft{background:#eef3ec}
.story-page .chapter h3,.story-page .results-voice h3{font-size:clamp(26px,2.6vw,36px);line-height:1.12;font-weight:500;letter-spacing:-.035em;color:var(--forest)}

/* A pull quote from Diane closing each chapter */
.chapter-quote{max-width:820px;margin:56px auto 0;text-align:center}
.chapter-quote blockquote{margin:0;font-size:clamp(22px,2.4vw,32px);font-weight:500;line-height:1.3;letter-spacing:-.03em;color:#183f29;text-wrap:balance}
.chapter-quote figcaption{display:inline-flex;align-items:center;gap:12px;margin-top:22px;font-size:13px;line-height:1.4;color:#536456;text-align:left}
.chapter-quote img{width:44px;height:44px;border-radius:50%;object-fit:cover}
.chapter-quote b{display:block;font-size:15px;font-weight:600;color:#205732}

/* 01 Recruitment: Diane's recruitment quote beside the story, then before and after */
.recruitment-intro{display:grid;gap:28px;margin-bottom:40px}
.story-page .recruitment-intro .story-heading{margin-bottom:0}
.story-page .recruitment-intro .story-heading p+p{margin-top:14px}
.recruitment-quote{margin:0;padding:28px 26px;border-radius:28px;background:radial-gradient(70% 90% at 100% 0%,rgba(168,237,125,.35),transparent 65%),#e3ecd9;border:1px solid #d5e1ca}
.recruitment-quote .result-figure{margin:0;font-size:clamp(40px,4.4vw,58px);font-weight:500;letter-spacing:-.055em}
.recruitment-quote .result-was{color:#7d9180}
.recruitment-quote-context{margin:10px 0 0;font-size:14px;color:#4b644d}
.recruitment-quote blockquote{margin:22px 0 0;padding-top:20px;border-top:1px solid rgba(32,87,50,.15);font-size:16px;line-height:1.65;color:#243a2c}
.recruitment-quote figcaption{margin-top:14px;font-size:14px;font-weight:600;color:var(--forest)}

.compare{border:1px solid rgba(255,255,255,.92);border-radius:24px;background:linear-gradient(150deg,rgba(255,255,255,.9),rgba(255,255,255,.65));box-shadow:inset 0 1px 0 #fff,0 18px 44px rgba(20,60,35,.07);overflow:hidden}
.compare-head{display:none}
.compare-rows{margin:0}
.compare-row{display:grid;gap:12px;padding:22px 22px 24px}
.compare-row+.compare-row{border-top:1px solid #e6ede1}
.compare-row dt{font-size:19px;font-weight:500;letter-spacing:-.02em;line-height:1.25;color:var(--forest)}
.compare-row dd{position:relative;margin:0;padding-left:30px;font-size:15px;line-height:1.6}
.compare-row dd:before{content:'';position:absolute;left:0;top:2px;width:18px;height:18px;border-radius:50%;background-position:center;background-repeat:no-repeat;background-size:11px}
.compare-before{color:#6a786d}
.compare-before:before{background-color:#e4e8e2;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d8a80' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E")}
.compare-after{color:#2f3d34;font-weight:500}
.compare-after:before{background-color:#479b20;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E")}
.compare-label{display:block;margin-bottom:2px;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#7d8a80}
.compare-after .compare-label{color:#479b20}

/* 02 Website: a short introduction, the old and new sites side by side, then what the new site
   does to win enquiries and be found */
.story-page .website-heading{max-width:780px;margin-bottom:36px}
.site-compare{display:grid;gap:28px}
.site-compare figure{margin:0}
.site-compare figcaption{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin-bottom:12px;font-size:14px;color:#536456}
.site-compare figcaption b{font-size:18px;font-weight:600;letter-spacing:-.02em;color:#183f29}
.site-compare figure:first-child figcaption b{color:#7d8a80}
.site-compare figcaption .text-link{margin-left:auto;font-size:14px}
.site-frame{overflow:hidden;border:5px solid #000;border-radius:15px;background:#000;box-shadow:0 24px 50px #1d3f2724}
.site-frame img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:top}

/* One box below both screenshots, so neither group reads as belonging to one of them */
.site-gains{margin-top:48px;padding:28px 24px;border:1px solid rgba(255,255,255,.92);border-radius:24px;background:linear-gradient(150deg,rgba(255,255,255,.92),rgba(255,255,255,.7));box-shadow:inset 0 1px 0 #fff,0 18px 44px rgba(20,60,35,.06)}
.site-gain-group+.site-gain-group{margin-top:32px;padding-top:32px;border-top:1px solid #e3ecd9}
.site-gain-group ul{display:grid;gap:20px;margin:22px 0 0;padding:0;list-style:none}
.site-gain-group li{display:grid;grid-template-columns:42px 1fr;gap:14px;align-items:start}
.site-gain-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#e3ecd9}
.site-gain-icon svg{width:20px;height:20px;fill:none;stroke:#205732;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.site-gain-group strong{display:block;font-size:16px;font-weight:600;line-height:1.3;color:#183f29}
.site-gain-group li span:not(.site-gain-icon){display:block;margin-top:4px;font-size:14.5px;line-height:1.55;color:#536456}
.story-page .chapter .site-gain-group h3{font-size:clamp(22px,2vw,27px)}

/* 03 Software: what was wrong, what we built, the features and the finance week */
.story-page .software-heading{margin-bottom:28px}
.problem-grid{display:grid;gap:12px;margin:0 0 56px;padding:0;list-style:none}
.problem-grid li{position:relative;padding:20px 22px 20px 62px;border-radius:20px;background:#fff;border:1px solid #e6ede1}
.problem-grid li:before{content:'';position:absolute;left:22px;top:21px;width:26px;height:26px;border-radius:50%;background:#f1ece6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a0613f' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center/12px no-repeat}
.problem-grid strong{display:block;font-size:17px;font-weight:600;line-height:1.3;color:#183f29}
.problem-grid span{display:block;margin-top:4px;font-size:14.5px;line-height:1.55;color:#536456}

/* Black behind the screenshots, so the smoothed edge of a rotated frame shows no pale hairline */
.results-page .device-scene .browser-device,.results-page .device-scene .phone-device{background:#000}
.software-result{display:grid;gap:40px;align-items:center;margin-bottom:56px}
.software-result-copy>p{margin-top:18px;color:#4b5b4e;max-width:34em}
.software-result-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:28px 0 0;padding:0;list-style:none}
.software-result-stats li{padding:18px 16px;border-radius:18px;background:#fff;border:1px solid #e6ede1}
.software-result-stats strong{display:block;font-size:clamp(30px,3vw,40px);font-weight:600;line-height:1;letter-spacing:-.045em;color:#205732}
.software-result-stats span{display:block;margin-top:8px;font-size:13px;line-height:1.4;color:#536456}

/* These cards have no outcome line, so they line up across three rows, not four */
@supports (grid-template-rows:subgrid){.system-grid .help-card{grid-row:span 3}}
.story-page .system-grid .help-card h3{font-size:21px;font-weight:500;letter-spacing:-.025em;line-height:1.2}


/* The result: three outcomes, then Diane's full testimonial */
.outcome-heading{max-width:760px;margin:0 0 48px}
.outcome-heading h2{font-size:clamp(34px,4vw,55px);line-height:1.06;font-weight:500;letter-spacing:-.045em;text-wrap:balance}
.outcome-heading>p:last-child{margin:20px 0 0;color:#4b5b4e;max-width:38em}

/* Diane's full testimonial as a quote box of its own */
.results-voice-quote{position:relative;margin:0;padding:84px 26px 26px;border:1px solid rgba(255,255,255,.92);border-radius:28px;background:linear-gradient(150deg,rgba(255,255,255,.9),rgba(255,255,255,.6));box-shadow:inset 0 1px 0 #fff,0 20px 50px rgba(20,60,35,.07)}
.results-voice-quote:before{content:'“';position:absolute;top:22px;left:22px;font-size:96px;font-weight:600;line-height:1;color:#b9d8a3;pointer-events:none}
.results-voice-quote blockquote{position:relative;margin:0;font-size:18px;line-height:1.65;letter-spacing:-.01em;color:#243a2c}

@media(min-width:700px){
  .hero-quote{padding:96px 36px 30px}
  .hero-quote:before{top:26px;left:32px}
  .story-page .page-hero .hero-quote blockquote{font-size:27px}
  .hero-quote-logo{width:108px}
  .journey-steps{grid-template-columns:repeat(3,minmax(0,1fr))}
  .compare-head{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1fr) minmax(0,1fr);gap:32px;padding:18px 28px;border-bottom:1px solid #e6ede1;background:#f7faf4;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#7d8a80}
  .compare-head span:last-child{color:#479b20}
  .compare-row{grid-template-columns:minmax(0,.7fr) minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:start;padding:24px 28px}
  .compare-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .problem-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .results-voice-quote{padding:100px 56px 48px}
  .results-voice-quote:before{top:28px;left:52px}
  .results-voice-quote blockquote{font-size:21px}
}
@media(min-width:1000px){
  /* Recruitment and software put their picture on the left */
  .recruitment-intro{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:64px;align-items:center;margin-bottom:48px}
  .recruitment-quote{order:-1}
  .site-gains{padding:44px 44px 48px}
  .site-gain-group ul{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
  .site-compare{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
  .software-result{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:72px}
  .software-result .device-scene{order:-1}
  /* A shorter step from the software chapter into the result */
  .story-page  :is(main,.case-panel)>#software{padding-bottom:56px}
  .story-page  :is(main,.case-panel)>#outcome{padding-top:56px}
  /* A tighter step from the hero into the journey */
  .story-page.results-page  :is(main,.case-panel)>.page-hero{padding-bottom:40px}
  .story-page.results-page  :is(main,.case-panel)>.page-hero+.section{padding-top:8px}
}
@media(max-width:480px){
  .hero-quote-logo{position:absolute;top:26px;right:22px;width:84px}
  .software-result-stats{gap:8px}
  .software-result-stats li{padding:14px 12px}
  .chapter-quote{margin-top:44px}
}
@media(prefers-reduced-transparency:reduce){.hero-quote,.results-voice-quote,.compare,.journey-steps a{background:#fbfcfa}}

/* Lilies case study (30 Nov 2026): the software chapter heading and the closing heading use the full width */
.results-page .story-heading.software-heading,.results-page .story-heading.software-heading p,.results-page .outcome-heading{max-width:none}

/* Buttons with a spring (30 Nov 2026), as on CareSimplify: lift and grow on hover, press on click, overshoot back */
.results-page .button{transition:transform .55s cubic-bezier(.2,1.5,.4,1),background-color .2s,color .2s,border-color .2s}
.results-page .button:hover{transform:translateY(-3px) scale(1.04);transition-duration:.16s,.2s,.2s,.2s}
.results-page .button:active{transform:translateY(1px) scale(.96);transition-duration:.07s,.2s,.2s,.2s}
@media(prefers-reduced-motion:reduce){.results-page .button{transition:background-color .2s,color .2s}.results-page .button:hover,.results-page .button:active{transform:none}}

/* CareSimplify link (30 Nov 2026): our care brand, built on the Lilies work */
.caresimplify-link{display:grid;gap:18px;padding:24px;border:1px solid rgba(32,87,50,.16);border-radius:22px;background:linear-gradient(125deg,rgba(255,255,255,.8),rgba(255,255,255,.4));box-shadow:inset 0 1px 0 #fff,0 14px 34px rgba(32,87,50,.05)}
.caresimplify-link h3{margin:0;color:#205732;font-size:22px;font-weight:500;line-height:1.2;letter-spacing:-.03em}
.caresimplify-link p{margin:8px 0 0;color:#56635a;font-size:15px;line-height:1.6;max-width:56ch}
.caresimplify-link-button{display:inline-flex;align-items:center;justify-content:center;justify-self:start;min-height:50px;padding:0 24px;border:1px solid rgba(32,87,50,.32);border-radius:14px;background:rgba(255,255,255,.7);color:#205732;font-size:15px;font-weight:600;text-decoration:none;white-space:nowrap;transition:transform .55s cubic-bezier(.2,1.5,.4,1),background-color .2s,border-color .2s,color .2s}
.caresimplify-link-button:hover,.caresimplify-link-button:focus-visible{background:#205732;border-color:#205732;color:#fff;transform:translateY(-3px) scale(1.04);transition-duration:.16s,.2s,.2s,.2s}
.caresimplify-link-button:active{transform:translateY(1px) scale(.96);transition-duration:.07s,.2s,.2s,.2s}
.caresimplify-link-button:focus-visible{outline:2px solid #205732;outline-offset:4px}
@media(min-width:851px){.caresimplify-link{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:40px;padding:30px 36px}.caresimplify-link h3{font-size:26px}}
@media(prefers-reduced-motion:reduce){.caresimplify-link-button{transition:none}.caresimplify-link-button:hover,.caresimplify-link-button:active{transform:none}}
.caresimplify-section{padding-top:0}
.tr .caresimplify-link{margin-top:40px}

/* Full-width selector, matching the homepage service rail. */
.case-panel[hidden]{display:none!important}.case-panel{outline:none}
.client-picker{padding-top:26px;padding-bottom:8px}
.client-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:5px;border:1px solid rgba(32,87,50,.16);border-radius:999px;background:rgba(255,255,255,.6);box-shadow:inset 0 1px 0 #fff}
.client-tabs button{appearance:none;border:0;background:transparent;color:#3d4a42;border-radius:999px;min-height:52px;padding:12px 20px;font:500 16px/1.3 inherit;font-family:inherit;cursor:pointer;transition:color .2s,background .2s;display:flex;align-items:center;justify-content:center}
.client-tabs button[aria-selected=true]{background:#205732;color:#fff;box-shadow:0 5px 15px #20573214}.client-tabs button:focus-visible{outline:2px solid #479b20;outline-offset:3px}.client-tabs button:not([aria-selected=true]):hover{background:#e7efdf}
.case-panel>.results-hero{padding-top:50px}.draft-label{display:block;width:fit-content;font-size:10px;line-height:1.5;font-weight:600;letter-spacing:.035em;text-transform:uppercase;color:#755d20;background:#fcf1cb;border:1px solid #e7d89f;border-radius:5px;padding:5px 8px;margin-bottom:16px}.chapter-quote .draft-label{margin-inline:auto}.tehg-attribution{font-size:13px;color:#536456;margin-top:22px}.tehg-intro{display:grid;grid-template-columns:1.2fr .8fr;gap:70px;align-items:center}.tehg-intro .story-heading{margin:0}.tehg-intro p+p{margin-top:18px}.tehg-person{margin:0}.tehg-person>img{width:100%;height:auto;max-height:470px;object-fit:cover;border-radius:24px}.tehg-person figcaption{margin-top:16px;font-size:13px;line-height:1.8;color:#536456}.tehg-person b{display:block;font-size:17px;color:#205732}.tehg-intro+.site-gains{margin-top:48px}
.tehg-editorial{max-width:850px;margin:50px 0}.tehg-editorial p{font-size:16px;line-height:1.75;color:#4b5b4e;margin-top:18px}.tehg-work-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px 54px;margin:42px 0}.tehg-work-grid article{padding-top:26px;border-top:1px solid #cddcc4}.story-page :is(#study-tehg,#study-saan) .tehg-work-grid h3{font-size:27px}.tehg-work-grid p{font-size:16px;line-height:1.75;color:#4b5b4e;margin-top:18px}.tehg-process{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:35px 0;padding:24px;border:1px solid white;border-radius:20px;background:#fff9}.tehg-process span{font-size:15px;color:#205732}.tehg-process span+span:before{content:'→';padding-right:12px;color:#659a46}.tehg-example{list-style:none;padding:0;margin:40px 0;counter-reset:journey;display:grid;gap:0}.tehg-example li{counter-increment:journey;position:relative;padding:26px 0 28px 65px;border-top:1px solid #cfddc5}.tehg-example li:before{content:counter(journey,decimal-leading-zero);position:absolute;left:0;top:25px;width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:#e3ecd9;color:#205732;font-size:13px}.story-page :is(#study-tehg,#study-saan) .tehg-example h3{font-size:26px}.tehg-example p{max-width:820px;margin-top:14px;font-size:16px;line-height:1.75;color:#4b5b4e}
@media(max-width:750px){.client-picker{padding-top:20px}.client-tabs{border-radius:24px;gap:4px}.client-tabs button{min-height:58px;border-radius:19px;font-size:13px;padding:10px 12px}.case-panel>.results-hero{padding-top:32px}.tehg-intro,.tehg-work-grid{grid-template-columns:1fr;gap:32px}.tehg-person{max-width:450px}.tehg-work-grid{gap:26px}.tehg-editorial{margin-block:35px}.tehg-example li{padding-left:52px}.tehg-process{gap:9px;padding:20px}.tehg-process span{font-size:13px}.tehg-process span+span:before{padding-right:9px}.story-page.results-page :is(#study-tehg,#study-saan) .page-hero h1,#study-saan) .page-hero h2.study-title{font-size:clamp(28px,9.5cqi,74px)}}
@media(prefers-reduced-motion:reduce){.client-tabs button{transition:none}}
:is(#study-tehg,#study-saan) .journey-go{color:#fff} .story-page.results-page :is(#study-tehg,#study-saan) .page-hero h1,#study-saan) .page-hero h2.study-title{font-size:clamp(28px,8.8cqi,62px)}
.client-picker{padding-top:105px}.client-tabs button{font-size:16px;font-weight:500;line-height:1.3}.story-page.results-page .case-panel>.results-hero{padding-top:42px}@media(max-width:750px){.client-picker{padding-top:88px}.client-tabs button{font-size:13px}.story-page.results-page .case-panel>.results-hero{padding-top:32px}}

/* Actual TEHG screens, captured locally with invented records. */
.tehg-system-shot{margin:0;min-width:0}.tehg-dashboard-shot{margin:42px 0 54px}.tehg-screen-break{grid-column:1/-1;min-width:0;margin:12px 0 20px}.tehg-shot-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px;font-size:18px;font-weight:500;letter-spacing:-.02em;color:#205732}.fictional-data-label{display:inline-block;border:1px solid #cad8bd;background:#eef3e7;color:#4c663e;padding:6px 11px;border-radius:999px;font-size:11px;font-weight:500;letter-spacing:0;line-height:1.4}.tehg-desktop-frame{overflow:hidden;border:5px solid #183328;border-radius:16px;background:#f6f4e7;box-shadow:0 22px 48px #1d3f271c}.tehg-desktop-frame img{display:block;width:100%;height:auto}.tehg-system-shot>figcaption{margin-top:16px;color:#536456;font-size:13px;line-height:1.65;max-width:900px}.tehg-system-shot>figcaption strong{font-weight:500;color:#3b5841}.tehg-capture-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.29fr);align-items:center;gap:36px;padding:30px 26px;border:1px solid white;border-radius:25px;background:linear-gradient(140deg,#e9f0e0,#f7f9f1)}.tehg-phone-frame{overflow:hidden;border:6px solid #183328;border-radius:27px;background:#f6f4e7;box-shadow:0 20px 40px #1d3f2720}.tehg-phone-frame img{display:block;width:100%;height:auto}.tehg-phone-shot>figcaption{font-size:12px}
@media(max-width:750px){.tehg-shot-heading{font-size:16px}.tehg-desktop-frame{border-width:3px;border-radius:11px}.tehg-dashboard-shot{margin-block:30px 40px}.tehg-capture-pair{grid-template-columns:1fr;gap:30px;padding:18px 14px}.tehg-phone-shot{max-width:240px;margin-inline:auto}.tehg-system-shot>figcaption{font-size:12px}.tehg-screen-break{margin-block:4px 12px}}
.tehg-system-shot,.tehg-screen-break{scroll-margin-top:110px}

/* Real website pair, and two fictional phone screens side by side. */
.tehg-website-break,.tehg-phones-break{margin:56px 0 8px}.genuine-label{background:#fff;border-color:#d6dfcc;color:#3f5a3c}
.tehg-system-shot>figcaption .text-link{display:inline-block;margin-top:4px}
.tehg-phone-duo{display:grid;grid-template-columns:1fr 1fr;gap:28px;padding:30px 26px;border:1px solid white;border-radius:25px;background:linear-gradient(140deg,#e9f0e0,#f7f9f1)}
.tehg-phone-side{display:grid;grid-template-columns:minmax(0,230px) minmax(0,1fr);align-items:center;gap:26px}
.tehg-phone-side>figcaption{margin-top:0;font-size:14px}.tehg-phone-side>figcaption b{display:block;margin-bottom:6px;font-size:18px;font-weight:500;letter-spacing:-.01em;color:#205732}
@media(max-width:900px){.tehg-phone-duo{grid-template-columns:1fr;gap:36px}.tehg-phone-side{grid-template-columns:minmax(0,210px) minmax(0,1fr)}}
@media(max-width:750px){.tehg-website-break,.tehg-phones-break{margin:36px 0 4px}.tehg-phone-duo{padding:22px 16px;gap:34px}.tehg-phone-side{grid-template-columns:1fr;max-width:250px;margin-inline:auto;gap:16px}.tehg-phone-side>figcaption{font-size:12px}.tehg-phone-side>figcaption b{font-size:16px}}

/* Hidden so the preview shows the finished look. The quotes underneath are still placeholders awaiting Richard's words. */
.draft-label{display:none!important}

/* Selector options for review: ?bar=a underline tabs, ?bar=b compact toggle, ?bar=c logo chips. No parameter keeps the current full-width bar. */
.picker-lead,.tab-logo{display:none}
html[data-bar] .client-picker{display:flex;align-items:center;gap:18px;padding-bottom:0}
html[data-bar] .picker-lead{display:block;flex:none;font-size:14px;color:#5e7561}
html[data-bar] .client-tabs{box-shadow:none}
/* A: underline tabs on a hairline */
html[data-bar=a] .client-picker{align-items:flex-end;gap:30px;background:linear-gradient(#20573229,#20573229) left bottom/100% 1px no-repeat content-box}
html[data-bar=a] .picker-lead{padding-bottom:13px}
html[data-bar=a] .client-tabs{display:flex;gap:30px;padding:0;border:0;border-radius:0;background:none}
html[data-bar=a] .client-tabs button{min-height:0;padding:0 1px 12px;border-radius:0;font-size:15px;color:#5b6b5e;background:none;border-bottom:2px solid transparent}
html[data-bar=a] .client-tabs button[aria-selected=true]{color:#205732;background:none;box-shadow:none;border-bottom-color:#205732}
html[data-bar=a] .client-tabs button:not([aria-selected=true]):hover{background:none;color:#205732;border-bottom-color:#b9d8a3}
/* B: compact toggle */
html[data-bar=b] .client-tabs{display:inline-flex;gap:3px;padding:3px;border:1px solid #2057321a;border-radius:999px;background:#2057320d}
html[data-bar=b] .client-tabs button{min-height:36px;padding:7px 18px;font-size:14px;color:#4b5b4e}
html[data-bar=b] .client-tabs button[aria-selected=true]{background:#fff;color:#205732;box-shadow:0 1px 3px #1432201f}
html[data-bar=b] .client-tabs button:not([aria-selected=true]):hover{background:#ffffff80}
/* C: logo chips */
html[data-bar=c] .client-tabs{display:flex;gap:10px;padding:0;border:0;border-radius:0;background:none}
html[data-bar=c] .client-tabs button{min-height:0;gap:10px;padding:6px 18px 6px 8px;border:1px solid #20573229;border-radius:999px;background:#ffffff99;font-size:14px;color:#3d4a42}
html[data-bar=c] .client-tabs button[aria-selected=true]{background:#fff;color:#205732;box-shadow:inset 0 0 0 1px #205732;border-color:#205732}
html[data-bar=c] .client-tabs button:not([aria-selected=true]):hover{background:#fff}
html[data-bar=c] .tab-logo{display:block;width:46px;height:30px;object-fit:contain}
@media(max-width:750px){
html[data-bar] .client-picker{flex-wrap:wrap;gap:10px 18px}
html[data-bar] .picker-lead{flex-basis:100%;font-size:13px}
html[data-bar=a] .picker-lead{padding-bottom:0}
html[data-bar=a] .client-tabs{gap:22px}html[data-bar=a] .client-tabs button{font-size:14px;padding-bottom:10px}
html[data-bar=b] .client-tabs{display:flex;width:100%}html[data-bar=b] .client-tabs button{flex:1;font-size:13px;padding:7px 10px}
html[data-bar=c] .client-tabs{width:100%;gap:8px}html[data-bar=c] .client-tabs button{flex:1;font-size:12.5px;line-height:1.25;padding:5px 10px 5px 6px;gap:6px;text-align:left;justify-content:flex-start}html[data-bar=c] .tab-logo{width:36px;height:26px}
}

/* Business name only on TEHG: no owner photograph, so the intro runs as a single column. */
.tehg-intro{display:block}.tehg-intro .story-heading{max-width:860px}

/* TEHG results: the Lilies stat cards, four across. */
:is(#study-tehg,#study-saan) .tehg-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:36px}
:is(#study-tehg,#study-saan) .tehg-stats li{padding:22px 20px}
.tehg-stats-note{margin-top:18px;font-size:13px;line-height:1.6;color:#6a786c;max-width:760px}
@media(max-width:900px){:is(#study-tehg,#study-saan) .tehg-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:750px){:is(#study-tehg,#study-saan) .tehg-stats{gap:8px;margin-top:26px}:is(#study-tehg,#study-saan) .tehg-stats li{padding:16px 14px}.tehg-stats-note{font-size:12px}}

/* ===== TEHG v2: shorter, outcome-led layout (24 Nov 2026) ===== */
:is(#study-tehg,#study-saan) .tehg-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px 72px;align-items:end;margin-bottom:44px}
:is(#study-tehg,#study-saan) .tehg-head h2{font-size:clamp(34px,4vw,55px);line-height:1.06;font-weight:500;letter-spacing:-.045em;color:#183f29}
:is(#study-tehg,#study-saan) .tehg-head p{color:#4b5b4e;font-size:17px;line-height:1.7}
:is(#study-tehg,#study-saan) .tehg-head p+p{margin-top:12px}
/* summary cards: information, not links */
.tehg-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none}
.tehg-summary li{display:flex;align-items:center;gap:14px;padding:14px;border:1px solid #cfdec4;border-radius:20px;background:#fff;box-shadow:0 10px 26px rgba(20,60,35,.06)}
.tehg-summary strong{display:block;font-size:17px;font-weight:600;line-height:1.25;color:#183f29}
.tehg-summary span.t{display:block;margin-top:2px;font-size:14px;line-height:1.4;color:#536456}
/* launch timeline */
.tehg-timeline{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(var(--steps,5),minmax(0,1fr));gap:0 18px;position:relative}
.tehg-timeline:before{content:'';position:absolute;left:0;right:0;top:9px;height:2px;background:linear-gradient(90deg,#b9d8a3,#205732)}
.tehg-timeline li{position:relative;padding-top:36px}
.tehg-timeline li:before{content:'';position:absolute;top:2px;left:0;width:16px;height:16px;border-radius:50%;background:#f6f8f1;border:3px solid #479b20}
.tehg-timeline li.now:before{background:#205732;border-color:#205732;box-shadow:0 0 0 6px #2057321f}
.tehg-timeline time{display:block;font-size:13px;font-weight:600;letter-spacing:.01em;color:#479b20}
.tehg-timeline h3{margin-top:6px;font-size:19px;font-weight:500;line-height:1.25;letter-spacing:-.02em;color:#183f29}
.tehg-timeline p{margin-top:8px;font-size:15px;line-height:1.6;color:#4b5b4e}
.tehg-now{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:44px 0 0;padding:0;list-style:none}
.tehg-now li{padding:22px 20px;border-radius:18px;background:#fff;border:1px solid #e6ede1}
.tehg-now strong{display:block;font-size:clamp(26px,2.6vw,34px);font-weight:600;line-height:1.05;letter-spacing:-.04em;color:#205732}
.tehg-now span{display:block;margin-top:8px;font-size:14px;line-height:1.5;color:#536456}
/* outcome cards */
.tehg-outcomes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 40px;padding:0;list-style:none}
.tehg-outcomes li{padding:24px 22px;border-radius:20px;background:#fff;border:1px solid #e3ebdc}
.tehg-outcomes .help-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#e3ecd9;margin-bottom:16px}
.tehg-outcomes .help-icon svg{width:22px;height:22px;fill:none;stroke:#205732;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.tehg-outcomes h3{font-size:19px;font-weight:500;line-height:1.25;letter-spacing:-.02em;color:#183f29}
.tehg-outcomes p{margin-top:8px;font-size:15px;line-height:1.6;color:#4b5b4e}
/* screenshots */
.tehg-shot-wrap{position:relative}
.demo-badge{position:absolute;z-index:2;top:14px;right:14px;display:inline-flex;align-items:center;gap:7px;padding:8px 13px;border-radius:999px;background:#f2b632;color:#1d2a20;font-size:13px;font-weight:600;line-height:1.2;box-shadow:0 6px 18px rgba(29,42,32,.18)}
.demo-badge:before{content:'';width:8px;height:8px;border-radius:50%;background:#1d2a20}
.tehg-dash-frame{max-height:780px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.tehg-dash-hint{display:block;margin-top:12px;font-size:13px;color:#6a786c}
.tehg-shot-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;margin-top:40px}
.tehg-shot-grid h3,.tehg-phone-row h3{font-size:19px;font-weight:500;line-height:1.25;letter-spacing:-.02em;color:#183f29;margin-top:16px}
.tehg-shot-grid p,.tehg-phone-row p{margin-top:6px;font-size:15px;line-height:1.6;color:#4b5b4e}
.tehg-phone-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:40px;padding:34px 30px;border-radius:25px;border:1px solid #fff;background:linear-gradient(140deg,#e9f0e0,#f7f9f1)}
.tehg-phone-row figure{margin:0}
.tehg-phone-row .tehg-phone-frame{max-width:250px;margin:0 auto}
.tehg-phone-row figcaption{max-width:280px;margin:0 auto}
.tehg-site-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.3fr);gap:30px;align-items:center;padding:30px 26px;border-radius:25px;border:1px solid #fff;background:linear-gradient(140deg,#e9f0e0,#f7f9f1)}
.tehg-site-note{margin-top:16px;font-size:14px;color:#536456}
@media(max-width:1000px){.tehg-outcomes{grid-template-columns:repeat(2,minmax(0,1fr))}.tehg-timeline{grid-template-columns:1fr;gap:0}.tehg-timeline:before{left:7px;right:auto;top:6px;bottom:6px;width:2px;height:auto;background:linear-gradient(#b9d8a3,#205732)}.tehg-timeline li{padding:0 0 26px 36px}.tehg-timeline li:before{top:3px}}
@media(max-width:750px){:is(#study-tehg,#study-saan) .tehg-head{grid-template-columns:1fr;gap:16px;margin-bottom:30px}:is(#study-tehg,#study-saan) .tehg-head p{font-size:16px}.tehg-summary,.tehg-now,.tehg-outcomes,.tehg-shot-grid{grid-template-columns:1fr}.tehg-phone-row{grid-template-columns:1fr;padding:24px 16px;gap:34px}.tehg-site-pair{grid-template-columns:1fr;padding:18px 14px}.tehg-site-pair .tehg-phone-frame{max-width:240px;margin:0 auto}.tehg-dash-frame{max-height:none;overflow:visible}.tehg-dash-hint{display:none}.demo-badge{top:10px;right:10px;font-size:12px;padding:6px 10px}}
/* Shared .story-page heading sizes outrank class rules; pin TEHG card headings. */
:is(#study-tehg,#study-saan) .tehg-timeline h3,:is(#study-tehg,#study-saan) .tehg-outcomes h3,:is(#study-tehg,#study-saan) .tehg-shot-grid h3,:is(#study-tehg,#study-saan) .tehg-phone-row h3{font-size:19px;font-weight:500;line-height:1.25;letter-spacing:-.02em;color:#183f29}
:is(#study-tehg,#study-saan) .tehg-outcomes .help-icon{margin:0 0 16px}
:is(#study-tehg,#study-saan) .tehg-outcomes li,:is(#study-tehg,#study-saan) .tehg-timeline li,:is(#study-tehg,#study-saan) .tehg-now li{text-align:left}
@media(max-width:750px){:is(#study-tehg,#study-saan) .tehg-timeline h3,:is(#study-tehg,#study-saan) .tehg-outcomes h3,:is(#study-tehg,#study-saan) .tehg-shot-grid h3,:is(#study-tehg,#study-saan) .tehg-phone-row h3{font-size:18px}}
/* keep the badge clear of the amber banner inside each screenshot */
:is(#study-tehg,#study-saan) .demo-badge{top:auto;bottom:16px;right:16px}
@media(max-width:750px){:is(#study-tehg,#study-saan) .demo-badge{bottom:10px;right:10px}}
/* phone visitors get the app's own phone dashboard, framed as a phone */
:is(#study-tehg,#study-saan) .tehg-dash-frame picture,:is(#study-tehg,#study-saan) .tehg-dash-frame img{display:block;width:100%;height:auto}
@media(max-width:750px){:is(#study-tehg,#study-saan) .tehg-dashboard-shot .tehg-shot-wrap{max-width:290px;margin:0 auto}:is(#study-tehg,#study-saan) .tehg-dash-frame{border-width:6px;border-radius:27px}}
/* Section headings run the full width, with no side intro */
:is(#study-tehg,#study-saan) .tehg-head{display:block;margin-bottom:36px}
:is(#study-tehg,#study-saan) .tehg-head h2{max-width:none}
@media(max-width:750px){:is(#study-tehg,#study-saan) .tehg-head{margin-bottom:26px}}

/* ===== TEHG v3: centred card icons, website button, tablet explorer (24 Nov 2026) ===== */
:is(#study-tehg,#study-saan) .tehg-outcomes .help-icon{margin:0 auto 16px}
.tehg-site-cta{display:flex;justify-content:center;margin-top:28px}
:is(#study-tehg,#study-saan) .tehg-explorer{grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:44px;margin-top:40px;align-items:center}
:is(#study-tehg,#study-saan) .tehg-explorer .screen-options{margin-top:0;gap:6px}
:is(#study-tehg,#study-saan) .tehg-explorer .screen-option{padding:16px 18px}
:is(#study-tehg,#study-saan) .tehg-explorer .screen-option strong{font-size:18px}
:is(#study-tehg,#study-saan) .tehg-explorer .screen-option span{font-size:14px;margin-top:4px}
:is(#study-tehg,#study-saan) .tehg-explorer .quiet-note{margin-top:18px}
:is(#study-tehg,#study-saan) .tehg-explorer .screen-stage{min-height:560px;padding:30px 10px}
.screen-tablet{position:relative;width:100%;max-width:660px;padding:11px;border-radius:28px;background:#000;box-shadow:0 25px 50px #284a2b30;transform:rotate(2deg);z-index:1}
.screen-tablet img{display:block;width:100%;height:auto;aspect-ratio:1180/820;object-fit:cover;object-position:top;border-radius:18px;background:#f9f7ed}
:is(#study-tehg,#study-saan) .screen-stage .demo-badge{top:4px;left:4px;right:auto;bottom:auto;z-index:3}
:is(#study-tehg,#study-saan) .screen-stage .scene-label{left:0;bottom:4%}
:is(#study-tehg,#study-saan) .tehg-app-quote{margin-top:56px}
:is(#study-tehg,#study-saan) .tehg-app-quote .tehg-attribution{text-align:center}
:is(#study-tehg,#study-saan) .tehg-combined-quote blockquote p+p{margin-top:.9em}
@media(max-width:1000px){:is(#study-tehg,#study-saan) .tehg-explorer{grid-template-columns:1fr;gap:24px}:is(#study-tehg,#study-saan) .tehg-explorer .screen-stage{order:-1;min-height:0;padding:34px 6px 40px}}
@media(max-width:750px){:is(#study-tehg,#study-saan) .tehg-explorer .screen-option{padding:12px 14px}:is(#study-tehg,#study-saan) .tehg-explorer .screen-option strong{font-size:16px}:is(#study-tehg,#study-saan) .tehg-explorer .screen-option[aria-pressed=false] span{display:none}.screen-tablet{padding:6px;border-radius:16px;transform:rotate(1.5deg)}.screen-tablet img{border-radius:11px}:is(#study-tehg,#study-saan) .screen-stage .scene-label{display:none}}

/* ===== TEHG v4 (24 Nov 2026) ===== */
/* website link: a quieter outline button under the heading */
:is(#study-tehg,#study-saan) .tehg-site-link{min-height:44px;margin-top:18px;padding:10px 22px;background:transparent;color:#205732;border:1.5px solid #205732;box-shadow:none;font-size:15px}
:is(#study-tehg,#study-saan) .tehg-site-link:hover,:is(#study-tehg,#study-saan) .tehg-site-link:focus-visible{background:#205732;color:#fff}
/* quote attributions with the TEHG logo */
:is(#study-tehg,#study-saan) .tehg-attr-logo{display:flex;align-items:center;gap:14px;margin-top:22px;font-size:13px;line-height:1.45;color:#536456;text-align:left}
:is(#study-tehg,#study-saan) .tehg-attr-logo img{flex:none;width:58px;height:58px;object-fit:contain;border-radius:12px;background:#fff;border:1px solid #e3ebdc;padding:4px}
:is(#study-tehg,#study-saan) .tehg-attr-logo b{display:block;font-size:15px;font-weight:600;color:#205732}
:is(#study-tehg,#study-saan) .tehg-app-quote .tehg-attr-logo{justify-content:center}
:is(#study-tehg,#study-saan) .tehg-explorer{margin-top:8px}

/* Phones: the demo label sits under the tablet, clear and impossible to miss */
@media(max-width:750px){
:is(#study-tehg,#study-saan) .screen-stage .scene-label{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;position:static;max-width:none;margin:18px auto 0;padding:9px 14px;border:1px solid #cfdec4;border-radius:999px;background:#fff;box-shadow:none;backdrop-filter:none;font-size:13px;line-height:1.35;text-align:center;color:#405a45}
:is(#study-tehg,#study-saan) .screen-stage .scene-label strong{display:inline;color:#205732}
:is(#study-tehg,#study-saan) .screen-stage .scene-label strong:after{content:' ·'}
:is(#study-tehg,#study-saan) .tehg-explorer .screen-stage{padding-bottom:20px}
}
@media(max-width:750px){:is(#study-tehg,#study-saan) .screen-stage .scene-label{flex-direction:column;gap:2px;border-radius:16px}:is(#study-tehg,#study-saan) .screen-stage .scene-label strong:after{content:none}}

/* ===== TEHG v5: Richard's own words (26 Nov 2026) ===== */
:is(#study-tehg,#study-saan) .tehg-section-quote,:is(#study-tehg,#study-saan) .tehg-outcome-quote{margin-top:56px}
:is(#study-tehg,#study-saan) .tehg-section-quote .tehg-attr-logo,:is(#study-tehg,#study-saan) .tehg-outcome-quote .tehg-attr-logo{justify-content:center}
:is(#study-tehg,#study-saan) .tehg-explorer .screen-option span{font-size:14.5px;line-height:1.55;color:#4b5b4e}
:is(#study-tehg,#study-saan) .tehg-words{margin-top:60px}
:is(#study-tehg,#study-saan) .tehg-words h3{font-size:22px;font-weight:500;letter-spacing:-.02em;color:#183f29;margin-bottom:18px}
:is(#study-tehg,#study-saan) .tehg-words ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none}
:is(#study-tehg,#study-saan) .tehg-words li{display:flex;flex-direction:column;justify-content:space-between;gap:18px;padding:24px 22px;border-radius:20px;background:#fff;border:1px solid #e3ebdc}
:is(#study-tehg,#study-saan) .tehg-words blockquote{margin:0;font-size:17px;line-height:1.55;letter-spacing:-.01em;color:#183f29}
:is(#study-tehg,#study-saan) .tehg-words li>span{font-size:13px;color:#6a786c}
@media(max-width:900px){:is(#study-tehg,#study-saan) .tehg-words ul{grid-template-columns:1fr}}
@media(max-width:750px){:is(#study-tehg,#study-saan) .tehg-section-quote,:is(#study-tehg,#study-saan) .tehg-outcome-quote,:is(#study-tehg,#study-saan) .tehg-words{margin-top:40px}:is(#study-tehg,#study-saan) .tehg-words blockquote{font-size:16px}}

/* ===== Client Results v7: card index like syncurio.co.uk/case-studies, three studies (27 Nov 2026) ===== */
.results-index-view[hidden]{display:none!important}
.results-index{padding:150px 0 90px}
.results-index-head{max-width:760px;margin:0 auto 52px;text-align:center}
.results-index-head h1{font-size:clamp(40px,5vw,66px);line-height:1.04;font-weight:500;letter-spacing:-.05em;color:#183f29}
.results-index-head p{margin-top:18px;font-size:18px;line-height:1.65;color:#4b5b4e}
.result-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:0;padding:0;list-style:none}
.result-card{display:flex;flex-direction:column;height:100%;overflow:hidden;border:1px solid #dde7d5;border-radius:24px;background:#fff;color:inherit;text-decoration:none;box-shadow:0 14px 34px rgba(20,60,35,.07);transition:transform .25s,box-shadow .25s,border-color .25s}
.result-card:hover,.result-card:focus-visible{transform:translateY(-4px);border-color:#b9d8a3;box-shadow:0 22px 46px rgba(20,60,35,.13)}
.result-card:focus-visible{outline:2px solid #479b20;outline-offset:3px}
.result-card-media{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;background:linear-gradient(140deg,#e9f0e0,#f7f9f1);border-bottom:1px solid #e6ede1}
.result-card-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:top left;transition:transform .5s}
.result-card:hover .result-card-media img{transform:scale(1.03)}
.result-card-demo{position:absolute;left:12px;bottom:12px;padding:6px 11px;border:1px solid #fff;border-radius:10px;background:#ffffffd9;backdrop-filter:blur(12px);font-size:12px;font-weight:500;color:#183f29}
.result-card-body{display:flex;flex-direction:column;flex:1;padding:24px 26px 28px}
.result-card-client{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:500;color:#536456}
.result-card-client img{width:56px;height:40px;object-fit:contain;flex:none}
.result-card-title{display:block;margin-top:16px;font-size:23px;font-weight:500;line-height:1.2;letter-spacing:-.025em;color:#183f29}
.result-card-text{display:block;margin-top:10px;font-size:15px;line-height:1.6;color:#4b5b4e;flex:1}
.result-card-button{align-self:flex-start;display:inline-flex;align-items:center;min-height:46px;margin-top:22px;padding:11px 22px;border-radius:999px;background:#205732;color:#fff;font-size:15px;font-weight:500;transition:background .25s}
.result-card:hover .result-card-button{background:#183f29}
/* back to the index from a study */
.study-back{padding-top:118px}
.study-back-link{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 18px;border:1.5px solid #205732;border-radius:999px;color:#205732;font-size:14px;font-weight:500;text-decoration:none;transition:background .2s,color .2s}
.study-back-link:before{content:'';width:7px;height:7px;border-left:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin-left:2px}
.study-back-link:hover,.study-back-link:focus-visible{background:#205732;color:#fff}
.story-page.results-page .case-panel>.results-hero{padding-top:34px}
/* Sweet as a Nut: desktop screens in a laptop-shaped frame */
.screen-tablet.saan-laptop{max-width:700px}
.screen-tablet.saan-laptop img{aspect-ratio:16/9}
.saan-hero-shot{position:relative;margin:0;padding:10px 0 34px}
.saan-hero-shot .screen-tablet{transform:rotate(1.5deg)}
.saan-hero-shot .scene-label{position:absolute;left:0;bottom:0;z-index:2}
.saan-next{display:grid;grid-template-columns:auto 1fr;gap:40px;align-items:center;padding:40px;border-radius:26px;background:#fff;border:1px solid #e3ebdc}
.saan-next img{width:200px;height:auto}
#study-saan .saan-next h2{font-size:clamp(28px,3vw,40px);line-height:1.1;font-weight:500;letter-spacing:-.04em;color:#183f29}
.saan-next p{margin-top:14px;font-size:17px;line-height:1.7;color:#4b5b4e;max-width:46em}
@media(max-width:1000px){.result-cards{grid-template-columns:1fr;max-width:620px;margin:0 auto}}
@media(max-width:750px){.results-index{padding:110px 0 60px}.results-index-head{margin-bottom:34px}.results-index-head p{font-size:16px}.result-card-body{padding:20px 20px 24px}.result-card-title{font-size:21px}.study-back{padding-top:96px}.saan-next{grid-template-columns:1fr;gap:20px;padding:26px 22px;text-align:left}.saan-next img{width:150px}.saan-hero-shot .scene-label{position:static;display:inline-block;margin-top:14px}}
@media(prefers-reduced-motion:reduce){.result-card,.result-card-media img{transition:none}.result-card:hover{transform:none}}
/* gentler corners on the client cards, so screenshot corners (the SAAN logo) are not clipped */
.result-card{border-radius:12px}

/* ===== SAAN long study (27 Nov 2026) ===== */
.saan-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.saan-steps li{padding:26px 24px;border-radius:20px;background:#fff;border:1px solid #e3ebdc}
.saan-step-n{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#e3ecd9;color:#205732;font-size:14px;font-weight:600;margin-bottom:16px}
#study-saan .saan-steps h3,#study-saan .saan-points h3,#study-saan .saan-details h3{font-size:19px;font-weight:500;line-height:1.25;letter-spacing:-.02em;color:#183f29}
.saan-steps p,.saan-points p,.saan-details p{margin-top:8px;font-size:15px;line-height:1.6;color:#4b5b4e}
.saan-feature{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:48px;align-items:center}
.saan-feature.saan-flip .saan-points{order:2}
.saan-points{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.saan-points li{display:grid;grid-template-columns:44px 1fr;gap:16px;align-items:start;padding:16px 0;border-top:1px solid #dbe6d2}
.saan-points li:first-child{border-top:0;padding-top:0}
.saan-points .help-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#e3ecd9}
.saan-points .help-icon svg,.saan-steps svg{width:22px;height:22px;fill:none;stroke:#205732;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.saan-shot{position:relative;margin:0;padding:10px 0 34px}
.saan-shot .screen-tablet{transform:rotate(1.2deg)}
.saan-flip .saan-shot .screen-tablet{transform:rotate(-1.2deg)}
.saan-shot .scene-label{position:absolute;left:0;bottom:0;z-index:2}
.saan-details{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.saan-details li{padding:24px 22px;border-radius:20px;background:#fff;border:1px solid #e3ebdc;border-top:3px solid #479b20}
.saan-chips{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 0;padding:0;list-style:none}
.saan-chips li{padding:7px 14px;border-radius:999px;background:#eef3e7;border:1px solid #d6dfcc;font-size:13px;font-weight:500;color:#3f5a3c}
.saan-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0 0;padding:0;list-style:none}
.saan-stats li{padding:22px 20px;border-radius:18px;background:#fff;border:1px solid #e6ede1}
.saan-stats strong{display:block;font-size:clamp(30px,3vw,40px);font-weight:600;line-height:1;letter-spacing:-.045em;color:#205732}
.saan-stats span{display:block;margin-top:8px;font-size:14px;line-height:1.45;color:#536456}
@media(max-width:1000px){.saan-steps,.saan-details{grid-template-columns:repeat(2,minmax(0,1fr))}.saan-feature{grid-template-columns:1fr;gap:28px}.saan-feature .saan-shot{order:-1}.saan-feature.saan-flip .saan-points{order:0}.saan-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:750px){.saan-steps,.saan-details{grid-template-columns:1fr}.saan-steps li,.saan-details li{padding:20px 18px}.saan-shot .scene-label{position:static;display:inline-block;margin-top:14px}.saan-points li{grid-template-columns:38px 1fr;gap:12px}.saan-points .help-icon{width:38px;height:38px}}

/* ===== Copy-chief pass (28 Nov 2026): Lilies frame borders and chapter ledes, TEHG and SAAN only ===== */
:is(#study-tehg,#study-saan) .tehg-desktop-frame{border:5px solid #000;border-radius:15px;background:#000;box-shadow:0 24px 50px #1d3f2724}
:is(#study-tehg,#study-saan) .tehg-phone-frame{border:5px solid #000;border-radius:22px;background:#000}
:is(#study-tehg,#study-saan) .screen-tablet{padding:0;border:5px solid #000;border-radius:15px;overflow:hidden;background:#000}
:is(#study-tehg,#study-saan) .screen-tablet img{border-radius:0}
@media(max-width:750px){:is(#study-tehg,#study-saan) .tehg-desktop-frame,:is(#study-tehg,#study-saan) .screen-tablet{border-width:5px;border-radius:15px;padding:0}:is(#study-tehg,#study-saan) .tehg-phone-frame{border-width:5px;border-radius:22px}}
:is(#study-tehg,#study-saan) .tehg-head .tehg-lede{margin-top:18px;max-width:46em;font-size:18px;line-height:1.7;color:#4b5b4e}
:is(#study-tehg,#study-saan) .tehg-head .tehg-lede+.tehg-site-link{margin-top:22px}
:is(#study-tehg,#study-saan) .tehg-subhead{margin:56px 0 20px;font-size:24px;font-weight:500;letter-spacing:-.025em;color:#183f29}
:is(#study-tehg,#study-saan) .compare{margin-top:8px}
@media(max-width:750px){:is(#study-tehg,#study-saan) .tehg-head .tehg-lede{font-size:16px}:is(#study-tehg,#study-saan) .tehg-subhead{margin-top:40px;font-size:21px}}
:is(#study-tehg,#study-saan) .tehg-app-stats{max-width:900px;margin:0 0 44px}
@media(max-width:750px){:is(#study-tehg,#study-saan) .tehg-app-stats{grid-template-columns:1fr;margin-bottom:30px}}

/* Floating nav: as wide as the content boxes plus 4px a side, so card edges never peek out behind it (28 Nov 2026) */
.inner-page .site-header.is-floating{width:calc(min(100%, 1240px) - 2 * var(--gutter) + 8px)}

/* Buttons with the CareSimplify spring (28 Nov 2026): lift and grow on hover, press on click, overshoot back.
   TEHG, SAAN, the card index and the back link only; Lilies stays as on the live site. */
:is(#study-tehg,#study-saan) .button,.results-index-view .button,.study-back-link,.result-card-button{transition:transform .55s cubic-bezier(.2,1.5,.4,1),background-color .2s,color .2s,border-color .2s}
:is(#study-tehg,#study-saan) .button:hover,.results-index-view .button:hover,.study-back-link:hover,.result-card:hover .result-card-button{transform:translateY(-3px) scale(1.04);transition-duration:.16s,.2s,.2s,.2s}
:is(#study-tehg,#study-saan) .button:active,.results-index-view .button:active,.study-back-link:active,.result-card:active .result-card-button{transform:translateY(1px) scale(.96);transition-duration:.07s,.2s,.2s,.2s}
@media(prefers-reduced-motion:reduce){:is(#study-tehg,#study-saan) .button,.results-index-view .button,.study-back-link,.result-card-button{transition:background-color .2s,color .2s}:is(#study-tehg,#study-saan) .button:hover,.results-index-view .button:hover,.study-back-link:hover,.result-card:hover .result-card-button,:is(#study-tehg,#study-saan) .button:active,.results-index-view .button:active,.study-back-link:active,.result-card:active .result-card-button{transform:none}}

/* TEHG on Lilies components (28 Nov 2026) */
:is(#study-tehg,#study-saan) .website-heading .tehg-site-link{margin-top:22px}
:is(#study-tehg,#study-saan) .tehg-website-scene{margin:44px auto 8px;max-width:980px}
:is(#study-tehg,#study-saan) .tehg-website-scene .browser-device img{aspect-ratio:16/10}
:is(#study-tehg,#study-saan) .tehg-website-scene .phone-device img{aspect-ratio:390/844}
:is(#study-tehg,#study-saan) .site-gains{margin-top:48px}
:is(#study-tehg,#study-saan) .tehg-app-stats{margin:8px 0 40px}
:is(#study-tehg,#study-saan) .system-grid{margin-top:56px}

/* Round 9 (28 Nov 2026): every TEHG and SAAN heading, lede and stat row uses the full width */
:is(#study-tehg,#study-saan) .story-heading,:is(#study-tehg,#study-saan) .tehg-head,:is(#study-tehg,#study-saan) .outcome-heading{max-width:none}
:is(#study-tehg,#study-saan) .story-heading p,:is(#study-tehg,#study-saan) .tehg-head .tehg-lede{max-width:none}
:is(#study-tehg,#study-saan) .tehg-app-stats{max-width:none;grid-template-columns:repeat(3,minmax(0,1fr))}
:is(#study-tehg,#study-saan) .tehg-website-scene{max-width:760px;margin:36px auto 0}
:is(#study-tehg,#study-saan) .tehg-site-grid{margin-top:0}
:is(#study-tehg,#study-saan) .tehg-subhead{margin:56px 0 22px}
:is(#study-tehg,#study-saan) .tehg-site-grid .help-card h3{margin-top:4px}
:is(#study-tehg,#study-saan) .tehg-site-grid .help-card p{margin-top:10px}
@media(max-width:750px){:is(#study-tehg,#study-saan) .tehg-app-stats{grid-template-columns:1fr}:is(#study-tehg,#study-saan) .tehg-website-scene{max-width:none;margin-top:28px}:is(#study-tehg,#study-saan) .tehg-subhead{margin-top:40px}}
:is(#study-tehg,#study-saan) .tehg-website-scene{aspect-ratio:1.6;max-width:760px;padding:3% 12% 9% 4%}
:is(#study-tehg,#study-saan) .tehg-website-scene .phone-device{width:21%;right:4%;bottom:0}
@media(max-width:750px){:is(#study-tehg,#study-saan) .tehg-website-scene{aspect-ratio:1.35;padding:4% 10% 12% 2%}:is(#study-tehg,#study-saan) .tehg-website-scene .phone-device{width:27%}}
/* Stat boxes carry the Lilies green tick (round 10) */
:is(#study-tehg,#study-saan) .tehg-app-stats strong{display:flex;align-items:center;gap:12px}
:is(#study-tehg,#study-saan) .tehg-app-stats strong:before{content:'';flex:none;width:26px;height:26px;border-radius:50%;background:#479b20 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/15px no-repeat}
:is(#study-tehg,#study-saan) .tehg-app-stats span{margin-top:12px}

/* SAAN v5 (28 Nov 2026): numbered cards and the report split */
.saan-numbered{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;counter-reset:n}
.saan-numbered li{counter-increment:n;padding:28px 26px;border-radius:22px;background:linear-gradient(150deg,#fff,#f3f7ee);border:1px solid #e3ebdc}
.saan-numbered li:before{content:counter(n,decimal-leading-zero);display:block;font-size:44px;font-weight:600;line-height:1;letter-spacing:-.05em;color:#b9d8a3;margin-bottom:18px}
#study-saan .saan-numbered h3{font-size:21px;font-weight:500;line-height:1.25;letter-spacing:-.02em;color:#183f29}
.saan-numbered p{margin-top:10px;font-size:15px;line-height:1.6;color:#4b5b4e}
#study-saan .saan-report-split{margin-bottom:0}
#study-saan .saan-report-split h3{font-size:clamp(24px,2.4vw,30px);font-weight:500;letter-spacing:-.03em;color:#183f29}
.saan-ticks{list-style:none;margin:24px 0 0;padding:0;display:grid;gap:14px}
.saan-ticks li{position:relative;padding-left:34px;font-size:15.5px;line-height:1.55;color:#2f3d34}
.saan-ticks li:before{content:'';position:absolute;left:0;top:1px;width:22px;height:22px;border-radius:50%;background:#479b20 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat}
@media(min-width:1000px){#study-saan .saan-report-split{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:56px}#study-saan .saan-report-split .saan-shot{order:0}}
@media(max-width:900px){.saan-numbered{grid-template-columns:1fr}}
#study-saan .saan-three{margin-top:8px}

/* No light hairline between a frame and its screenshot at 125% or 150% display scaling (28 Nov 2026):
   the image background is black, and a 2px inset outline covers the anti-aliased edge pixel. TEHG and SAAN only. */
:is(#study-tehg,#study-saan) .screen-tablet img,:is(#study-tehg,#study-saan) .tehg-desktop-frame img,:is(#study-tehg,#study-saan) .tehg-phone-frame img,:is(#study-tehg,#study-saan) .browser-device img,:is(#study-tehg,#study-saan) .phone-device img{background:#000;outline:2px solid #000;outline-offset:-2px}
/* Frames as solid black padding rather than a border, so there is no seam between border and fill at any display scaling */
:is(#study-tehg,#study-saan) .screen-tablet,:is(#study-tehg,#study-saan) .tehg-desktop-frame,:is(#study-tehg,#study-saan) .browser-device{border:0;padding:5px;background:#000;border-radius:15px}
:is(#study-tehg,#study-saan) .screen-tablet img,:is(#study-tehg,#study-saan) .tehg-desktop-frame img,:is(#study-tehg,#study-saan) .browser-device img{border-radius:10px}
:is(#study-tehg,#study-saan) .tehg-phone-frame,:is(#study-tehg,#study-saan) .phone-device{border:0;padding:5px;background:#000;border-radius:22px}
:is(#study-tehg,#study-saan) .tehg-phone-frame img,:is(#study-tehg,#study-saan) .phone-device img{border-radius:17px}
@media(max-width:750px){:is(#study-tehg,#study-saan) .screen-tablet,:is(#study-tehg,#study-saan) .tehg-desktop-frame{border:0;padding:5px;border-radius:15px}}
:is(#study-tehg,#study-saan) .screen-tablet img,:is(#study-tehg,#study-saan) .tehg-desktop-frame img,:is(#study-tehg,#study-saan) .tehg-phone-frame img,:is(#study-tehg,#study-saan) .browser-device img,:is(#study-tehg,#study-saan) .phone-device img{outline:4px solid #000;outline-offset:-2px}

/* Full feature list, from Richard's review (28 Nov 2026): closed until opened */
:is(#study-tehg,#study-saan) .tehg-all-features{margin-top:28px;border:1px solid var(--glass-edge);border-radius:22px;background:var(--glass);box-shadow:var(--glass-shadow);backdrop-filter:blur(18px) saturate(150%);-webkit-backdrop-filter:blur(18px) saturate(150%);overflow:hidden}
:is(#study-tehg,#study-saan) .tehg-all-features>summary{position:relative;display:block;padding:24px 68px 24px 28px;cursor:pointer;list-style:none;color:var(--forest)}
:is(#study-tehg,#study-saan) .tehg-all-features>summary::-webkit-details-marker{display:none}
:is(#study-tehg,#study-saan) .tehg-all-features>summary strong{display:block;font-size:20px;font-weight:600;line-height:1.3}
:is(#study-tehg,#study-saan) .tehg-all-features>summary span{display:block;margin-top:4px;font-size:15px;line-height:1.5;color:#536456}
:is(#study-tehg,#study-saan) .tehg-all-features>summary:after{content:'';position:absolute;top:calc(50% - 7px);right:28px;width:14px;height:14px;background:linear-gradient(currentColor,currentColor) 0 6px/14px 2px no-repeat,linear-gradient(currentColor,currentColor) 6px 0/2px 14px no-repeat;transition:transform .35s var(--out)}
:is(#study-tehg,#study-saan) .tehg-all-features[open]>summary:after{transform:rotate(45deg)}
:is(#study-tehg,#study-saan) .tehg-all-features>summary:hover{color:var(--green)}
:is(#study-tehg,#study-saan) .tehg-all-features>summary:focus-visible{outline:2px solid var(--green);outline-offset:-4px;border-radius:22px}
:is(#study-tehg,#study-saan) .tehg-feature-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 40px;padding:28px 28px 32px;border-top:1px solid #dce5d7}
:is(#study-tehg,#study-saan) .tehg-feature-group h3{margin:0 0 12px;font-size:17px;font-weight:600;line-height:1.3;color:var(--forest)}
:is(#study-tehg,#study-saan) .tehg-feature-group ul{display:grid;gap:9px;margin:0;padding:0;list-style:none}
:is(#study-tehg,#study-saan) .tehg-feature-group li{position:relative;padding-left:28px;font-size:15px;line-height:1.5;color:#2f3d34}
:is(#study-tehg,#study-saan) .tehg-feature-group li:before{content:'';position:absolute;left:0;top:2px;width:18px;height:18px;border-radius:50%;background:#479b20 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat}
@media(max-width:980px){:is(#study-tehg,#study-saan) .tehg-feature-groups{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){:is(#study-tehg,#study-saan) .tehg-all-features>summary{padding:20px 56px 20px 20px}:is(#study-tehg,#study-saan) .tehg-all-features>summary:after{right:20px}:is(#study-tehg,#study-saan) .tehg-feature-groups{grid-template-columns:1fr;gap:24px;padding:22px 20px 26px}}
@media(prefers-reduced-motion:reduce){:is(#study-tehg,#study-saan) .tehg-all-features>summary:after{transition:none}}
