/* Basil Clinic (site/clinic/): light only, in every color scheme, since a clinic should read calm and bright.
   The phone picture keeps the home page's classes from style.css; everything else here is the clinic's own. */

/* The visual ID (wiki/brand.md): four colors with fixed jobs plus ink, two fonts, one panel shape.
   Light tokens win over style.css's dark ones, so the phone and the form stay light too. */
:root{
  --paper:#F8F2E8; --basil:#24452F; --leaf:#5B7450; --sage:#DFE8CF; --oat:#EFE7D9;
  --ink-1:#26291F; --ink-2:#68634F; --ink-3:#A39C88;
  --bg:var(--paper); --line:rgba(38,41,31,.12); --surface:var(--sage);
  --cl-green:var(--basil); --cl-green-2:var(--sage);
  --serif:"Newsreader",Georgia,"Times New Roman",serif; --sans:"Figtree",-apple-system,system-ui,sans-serif;
  --cl-col:640px; --cl-ease:cubic-bezier(.65,0,.35,1); --cl-r:28px;
  color-scheme:light;
}
@media (prefers-color-scheme:dark){
  :root{--ink-1:#26291F; --ink-2:#68634F; --ink-3:#A39C88; --bg:#F8F2E8; --line:rgba(38,41,31,.12); --surface:#DFE8CF}
}
/* A panel: the page is a column of them (painting, paper, sage, basil, paper, painting), all one shape */
.cl-panel{width:calc(100vw - 32px);margin-left:calc(50% - 50vw + 16px);border-radius:var(--cl-r)}
body.cl{background:var(--bg);color:var(--ink-1);font-family:var(--sans)}
/* The phone stays in light Messages too, on a dark-mode visitor's screen */
.cl .screen{--s-bg:#fff;--s-ink:#000;--s-in:#E9E9EB;--s-ph:#B0B0B5;
  --s-glass:rgba(246,246,248,.76);--s-glass-edge:rgba(255,255,255,.9);--s-glass-ring:rgba(0,0,0,.07)}
.cl .phone{box-shadow:0 0 0 1.5px #3B3B3A,0 0 0 3px #1A1A19,inset 0 0 0 1px rgba(255,255,255,.06),0 2px 4px rgba(0,0,0,.05),0 30px 70px -30px rgba(15,15,14,.32)}
.cl main{width:min(1120px,100% - 40px);margin:0 auto}
[hidden]{display:none!important}

/* Top bar */
.cl-nav{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;
  padding:14px max(20px,calc((100% - 1120px)/2));background:rgba(248,242,232,.88);backdrop-filter:saturate(1.4) blur(12px);
  -webkit-backdrop-filter:saturate(1.4) blur(12px);border-bottom:1px solid var(--line)}
.cl-brand{display:flex;align-items:center;gap:8px;color:var(--ink-1);text-decoration:none;font:400 22px/1 var(--serif);letter-spacing:-.01em}
.cl-brand img{width:auto;height:30px}

/* Buttons */
.cl-btn{display:inline-flex;align-items:center;justify-content:center;padding:15px 26px;border-radius:999px;background:var(--basil);
  color:var(--paper);font-weight:500;text-decoration:none;transition:transform .7s var(--cl-ease),opacity .3s}
.cl-btn:hover{opacity:.88;transform:translateY(-1px)}
.cl-btn-sm{padding:9px 16px;font-size:15px}
.cl-btn-lg{height:56px;padding:0 34px;font-size:18px}
.cl-btn-ghost{background:transparent;color:var(--ink-1);box-shadow:inset 0 0 0 1px rgba(20,32,27,.22)}
.cl-link{color:var(--ink-1);font-weight:500;text-underline-offset:4px}

/* Hero */
.cl-hero{display:flex;align-items:center;min-height:min(640px,78vh);width:calc(100vw - 32px);margin:16px 0 0 calc(50% - 50vw + 16px);
  padding:72px max(40px,calc((100vw - 1120px)/2));border-radius:var(--cl-r);overflow:hidden;
  background:#FCE3C4 url(/assets/hero-window.webp?v=1) 100% 50%/cover no-repeat}
.cl-hero-copy{max-width:540px}
@media (max-width:1300px){.cl-hero{background-image:url(/assets/hero-window-1100.webp?v=1)}}
/* The story: the problem, why it stays, what we do instead */
.cl-story{max-width:var(--cl-col);margin:0 auto;padding:96px 0 32px}
.cl-story h2{margin:0 0 32px;font:400 clamp(32px,4vw,48px)/1.1 var(--serif);letter-spacing:-.02em;text-wrap:balance}
.cl-story h2 em{display:block}
.cl-story p{margin:0 0 20px;font-size:19px;line-height:1.55;color:var(--ink-2)}
.cl-story p b{color:var(--ink-1);font-weight:500}
.cl-story .cl-src{margin-top:8px;font-size:13px;color:var(--ink-3)}
/* How it works: the steps, and the thread beside them, held in view while the steps scroll */
/* "Doctor visits open soon" above the headline: the first words a visitor reads say the doctor is not open yet */
.cl-soon{display:inline-block;margin:0 0 18px;padding:5px 12px;border-radius:999px;font:600 14px/1.2 var(--sans);color:var(--leaf);background:rgba(94,122,84,.12)}
.cl-hero h1{margin:0 0 28px;font:400 clamp(44px,6vw,76px)/1.02 var(--serif);letter-spacing:-.02em;text-wrap:balance}
/* Each line breaks evenly, and "blood pressure" (joined by a no-break space) never splits */
.cl-hero h1 em{text-wrap:balance}
/* Two tones: the question in ink, the answer in gray */
.cl-hero h1 em,.cl-end h2 em,.cl-story h2 em{font-style:normal;color:var(--leaf)}
/* The second tone starts its own line in the hero: the answer, then the fix */
.cl-hero h1 em{display:block}
/* A headline of a question and an answer runs 6 lines on a phone at the full size; this keeps the button on the first screen */
.cl-hero h1.cl-h1-long{font-size:clamp(34px,4.6vw,60px);line-height:1.08}
/* The answer to their reading, under the headline. A crisis reading's note is the 911 line, in red. */
.cl-note{max-width:30rem;margin:-8px 0 28px;font-size:19px;line-height:1.5;color:var(--ink-1)}
.cl-note-urgent{padding:14px 18px;border-radius:14px;background:#FBEAE5;color:#8A2A14;font-weight:500}
.cl-note-in{animation:cl-rise .7s var(--cl-ease) both}
@media (prefers-reduced-motion:reduce){.cl-note-in{animation:none}}
/* The offer and the price in one line under the headline */
.cl-sub{max-width:31rem;margin:0 0 28px;font-size:19px;line-height:1.5;color:var(--ink-2)}
.cl-sub b{color:var(--ink-1);font-weight:600}
.cl-actions{display:flex;align-items:center;gap:24px;margin-bottom:12px}
/* The hero's start: the button, then the terms under it */
.cl-start{margin:0}
.cl-start .cl-terms{margin-top:14px}
.cl-start-label{margin:0 0 10px;font-size:15px;color:var(--ink-2)}
.cl-start-label span{color:var(--ink-3)}
.cl-start-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.cl-start-pair{display:flex;align-items:center;gap:8px}
.cl-start-pair span{font:400 28px/1 var(--serif);color:var(--ink-3)}
.cl-start input{width:92px;height:54px;padding:0 8px;font:400 20px var(--sans);color:var(--ink-1);background:#fff;
  border:1px solid rgba(20,32,27,.18);border-radius:14px;text-align:center;-webkit-appearance:none;appearance:none}
.cl-start input::placeholder{color:var(--ink-3);font-size:16px}
.cl-start input:focus{outline:2px solid var(--cl-green);outline-offset:1px;border-color:transparent}
.cl-start .cl-btn{height:54px;padding:0 28px;border:0;cursor:pointer;font:inherit;font-size:17px;font-weight:500}
.cl-start-err{margin:10px 0 0;color:#B4432A;font-size:15px}
.cl-start-err:empty{display:none}
/* The trial terms in small print under the button, the way subscription pages show them */
.cl-terms{margin:0;font-size:14px;color:var(--ink-2)}
/* What the $39 buys, under the hero button: three short lines with a check, so the offer is concrete before the card form */
.cl-assure{list-style:none;margin:4px 0 26px;padding:0;display:grid;gap:8px;font-size:16px;line-height:1.4;color:var(--ink-1);text-align:left}
.cl-assure li{position:relative;padding-left:26px}
.cl-assure li::before{content:"";position:absolute;left:2px;top:4px;width:14px;height:8px;border-left:2px solid var(--leaf);border-bottom:2px solid var(--leaf);transform:rotate(-45deg)}
.cl-trust{margin:16px 0 0;font-size:14px;line-height:1.5;color:var(--ink-2)}
.cl-how-lead{margin:-8px 0 28px;font-size:19px;line-height:1.5;color:var(--ink-2);max-width:var(--cl-col)}
@media (max-width:760px){.cl-assure{width:fit-content;margin-left:auto;margin-right:auto}}
.cl-terms span{margin:0 8px;color:var(--ink-3)}
/* "Opening soon" reads first, so nobody enters a card thinking the doctor is open today */
.cl-terms b,.cl-free b{color:var(--ink-1);font-weight:600;white-space:nowrap}
.cl-end .cl-terms{margin:14px 0 0}
/* The status beside the button: a green dot that pulses once a second or so, and the reply time */
.cl-live{display:inline-flex;align-items:center;gap:8px;margin:0;font-weight:500;color:var(--leaf)}
.cl-terms .cl-live{margin:0;color:var(--leaf)}
.cl-live i{position:relative;width:8px;height:8px;border-radius:50%;background:var(--leaf)}
.cl-live i::after{content:"";position:absolute;inset:0;border-radius:50%;background:var(--leaf);animation:cl-ping 2s ease-out infinite}
@keyframes cl-ping{from{transform:scale(1);opacity:.55}to{transform:scale(2.6);opacity:0}}
@media (prefers-reduced-motion:reduce){.cl-live i::after{animation:none}}
.cl-end .cl-live{display:flex;justify-content:center;margin-top:16px}
/* The phone stands on a plain warm surface, as in a product shot: nothing competes with the thread.
   The page's one painting is the ending (.cl-scene). */
/* The panel is shorter than the phone: the phone runs off its bottom edge, so the thread shows and the photo frames it */
.cl-hero-art{position:relative;display:flex;justify-content:center;align-items:flex-start;height:640px;padding:56px 24px 0;border-radius:28px;overflow:hidden;
  background:var(--paper)}
.cl-hero-art::before{content:none}
.cl-hero-art .stage{position:relative;margin:0}
.cl .cl-hero-art .phone{box-shadow:0 0 0 1.5px #3B3B3A,0 0 0 3px #1A1A19,inset 0 0 0 1px rgba(255,255,255,.06),0 4px 10px rgba(60,40,20,.14),0 40px 80px -24px rgba(60,40,20,.42)}
.cl .cl-avatar{background:#9DB5A9}
/* The doctor in the thread is a painted portrait from GPT, in the same style as the ending: an example, not a real person */
.cl .cl-avatar{overflow:hidden}
/* A bigger photo and name pill, as iMessage shows a contact now. Only this page: style.css also draws the home page's phone. */
.cl .contact .mark{width:3.6em;height:3.6em}
.cl .contact .name{font-size:.84em}
.cl .cl-avatar img{display:block;width:100%;height:100%;object-fit:cover}

/* The headline comes in a word at a time, then the lines under it. clinic.js wraps the words. */
.cl-w{display:inline-block;animation:cl-word .75s var(--cl-ease) both;animation-delay:calc(var(--i) * 55ms)}
.cl-hero-copy > :not(h1){animation:cl-rise .9s var(--cl-ease) .55s both}
/* No blur in the entrance: Safari on iPhone can keep a blurred word after the animation ends */
@keyframes cl-word{from{opacity:0;transform:translateY(.22em)}}
@keyframes cl-rise{from{opacity:0;transform:translateY(10px)}}
@media (prefers-reduced-motion:reduce){.cl-w,.cl-hero-copy > *{animation:none}}

/* Sections: one narrow column in the middle, with room around it. No rules between sections: the space is the break. */
.cl-section{padding:112px 0}
.cl-section > *{max-width:var(--cl-col);margin-left:auto;margin-right:auto}
.cl-section h2,.cl-end h2{margin-bottom:48px;font:400 clamp(32px,4vw,48px)/1.08 var(--serif);letter-spacing:-.02em}
.cl h3{margin:0 0 8px;font:400 24px/1.2 var(--serif);letter-spacing:-.01em}
.cl-section p{margin:0;color:var(--ink-2);line-height:1.55}

/* The proof: one line, the result of the care model */
/* Why the weekly check-in: two big numbers side by side, the one we offer in full ink, usual care in grey */
.cl-src{margin:28px 0 0;font-size:13px;color:var(--ink-3)}
.cl-src a{color:inherit;text-underline-offset:3px}

/* The painted morning at the end: edge to edge, under the last button. The top fades to nothing, so the page
   opens into the painting with no edge, and the button sits on its sky. The front of the table fades back into the page. */
.cl-scene{position:relative;z-index:0;margin-top:-140px}
.cl-scene img{display:block;width:100%;height:auto;aspect-ratio:2/1;object-fit:cover;object-position:50% 100%;
  -webkit-mask-image:linear-gradient(to bottom,transparent 0,rgba(0,0,0,.5) 22%,#000 42%,#000 90%,transparent);mask-image:linear-gradient(to bottom,transparent 0,rgba(0,0,0,.5) 22%,#000 42%,#000 90%,transparent)}
.cl-end{position:relative;z-index:1}

/* How it works: a list, the time on the left */
/* The AI note sits where the coach appears, small, as the coach is named plainly and AI is said once, in fine print */


/* Who is behind it: the one dark band, edge to edge */
.cl-trust-block{position:relative;padding-left:24px;padding-right:24px;color:var(--paper);background:var(--basil)}
.cl-trust-block h2{color:#B9C6B3;font-size:17px;font-family:var(--sans);font-weight:500;letter-spacing:0;margin-bottom:28px}
.cl-quote{margin:0 0 32px!important;font:400 clamp(26px,3vw,34px)/1.3 var(--serif);letter-spacing:-.015em;color:var(--paper)!important}
.cl-sign{display:flex;align-items:center;gap:14px;margin:0 0 64px!important;font-size:15px;color:#B9C6B3!important}
.cl-sign img{width:56px;height:56px;border-radius:50%;object-fit:cover;flex:none}
.cl-sign b{display:block;color:var(--paper);font-weight:500}
.cl-promises{margin:0;padding:0;list-style:none}
.cl-promises li{padding:18px 0;border-top:1px solid rgba(248,242,232,.16);color:#B9C6B3;line-height:1.55}
.cl-promises b{color:var(--paper);font-weight:500}
.cl-promises a{color:var(--paper);text-underline-offset:3px}

/* Questions */
.cl-faq details{border-top:1px solid var(--line);padding:22px 0}
.cl-faq details:last-of-type{border-bottom:1px solid var(--line)}
.cl-faq summary{cursor:pointer;font-size:18px;font-weight:500;list-style:none;display:flex;justify-content:space-between;gap:16px}
.cl-faq summary::after{content:"+";color:var(--ink-2);font-size:22px;line-height:1;transition:transform .7s var(--cl-ease)}
.cl-faq details[open] summary::after{transform:rotate(45deg)}
.cl-faq summary::-webkit-details-marker{display:none}
.cl-faq details p{margin-top:12px}

.cl-end{padding:120px 0 64px;text-align:center}
.cl-end h2{max-width:14em;margin:0 auto 32px}
.cl-end p{margin:20px 0 0}
.cl-free{font-size:16px;color:var(--ink-2)}
.cl-free a{color:var(--ink-1);text-underline-offset:4px}

.cl-foot{width:min(1120px,100% - 40px);margin:0 auto;padding:12px 0 40px;font-size:14px;color:var(--ink-2);text-align:center}
.cl-foot p{max-width:36rem;margin:0 auto 14px}
.cl-foot nav{display:flex;justify-content:center;gap:20px}
.cl-foot a{color:var(--ink-2)}

.thread .row + .meta{margin-top:.9em}

/* Phones: one column, the phone under the words */
@media (max-width:860px){
  /* One rhythm on phones: 16 between the headline and its line, 24 before the button, 12 to its terms, 48 to the picture */
  /* On phones the tall painting: the words on its empty sky, the woman at the window below them */
  .cl-hero{display:block;min-height:0;width:calc(100vw - 24px);margin:12px 0 0 calc(50% - 50vw + 12px);padding:36px 20px 64vw;border-radius:22px;
    /* The painting sits at the bottom, as wide as the panel (100vw - 24px) and 1.25 times as tall; its top fades into the cream */
    background:linear-gradient(to top,rgba(248,236,218,0) calc((100vw - 24px) * 1.25 - 200px),#F8ECDA calc((100vw - 24px) * 1.25)),
      url(/assets/hero-window-tall.webp?v=1) 50% 100%/100% auto no-repeat,#F8ECDA}
  .cl-story{padding:64px 0 16px}
  /* Section paragraphs stay 19px on phones too, like the care team line: most readers are 55 and older */
  .cl-hero h1{margin-bottom:16px;line-height:1.04}
  .cl-note{font-size:17px;margin-bottom:24px}
  /* On phones the hero is centered, like an app's first screen: headline, one line, the button */
  .cl-hero-copy{text-align:center}
  .cl-sub{font-size:17px;margin-left:auto;margin-right:auto}
  .cl-note{margin-left:auto;margin-right:auto}
  .cl-actions{justify-content:center}
  .cl-start-row{justify-content:center}
  .cl-start-pair{width:100%;justify-content:center}
  .cl-start input{flex:1;max-width:150px}
  .cl-start .cl-btn{width:100%}
  .cl-actions{flex-wrap:wrap;gap:16px 24px;margin-bottom:12px}
  .cl-hero-art{height:540px;padding:40px 16px 0;border-radius:22px}
  /* A smaller phone on phones, so the photo still shows around it */
  .cl-hero-art .stage{--pw:min(250px,64vw)}

  .cl-section{padding:72px 0}
  .cl-scene{margin-top:-40px}
  .cl-scene img{aspect-ratio:4/3;object-position:50% 100%}
  .cl-section h2,.cl-end h2{margin-bottom:32px}
  .cl-end{padding:72px 0 48px}
}

/* Type and color rules (wiki/brand.md): nothing under 15 px; supporting text is one brown-grey */
.cl-src,.cl-story .cl-src,.cl-start-label,.cl-terms{font-size:15px}
.cl-src,.cl-src a,.cl-fine,.cl-start-label,.cl-start-label span,.cl-terms,.cl-free{color:var(--ink-2)}
.cl-btn,.cl-start .cl-btn{font-weight:600}
@media (max-width:860px){.cl-panel{width:calc(100vw - 24px);margin-left:calc(50% - 50vw + 12px);border-radius:22px}
  .cl-trust-block{padding-left:20px;padding-right:20px}}

/* Chapters (wiki/brand.md): each section opens with a short label in leaf green, then one bold statement */
.cl-kicker{margin-top:0!important;margin-bottom:14px!important;font:600 16px/1.3 var(--sans)!important;color:var(--leaf)!important;letter-spacing:0}
.cl-hero h1,.cl-story h2,.cl-section h2,.cl-end h2{font-weight:500}
.cl-section h2{margin-bottom:40px}
/* What works: the two numbers as tiles, ours in deep basil, usual care in sage */
/* What you get: rows, like a definition table */
/* How it works: each step a paper card on the sage panel */
/* Why we built it: the mission as the statement, on deep basil */
.cl-trust-block .cl-kicker{color:#B7CDA4!important}
.cl-trust-block h2.cl-mission{margin:0 auto 40px;font:500 clamp(30px,3.6vw,44px)/1.12 var(--serif);letter-spacing:-.02em;color:var(--paper)}
.cl-trust-block h2.cl-mission em{display:block;font-style:normal;color:#B7CDA4}
/* Every heading's second tone is upright leaf green; the How it works label lines up with its wide heading */
.cl h2 em{font-style:normal;color:var(--leaf)}
.cl-trust-block h2.cl-mission em{color:#B7CDA4}
/* .cl-section p resets margins; a section's label still sits in its column */
.cl-section .cl-kicker{margin-left:auto;margin-right:auto}


/* The care team: three people (one of them Basil, the AI coach) for one monthly price */
.cl-team{max-width:1040px;margin:0 auto;padding:40px 0 24px}
.cl-team h2{max-width:var(--cl-col);margin:0 0 16px;font:500 clamp(32px,4vw,48px)/1.08 var(--serif);letter-spacing:-.02em;text-wrap:balance}
.cl-team h2 em{display:inline}
.cl-team-sub b{color:var(--ink-1);font-weight:600}
.cl-team-sub{max-width:var(--cl-col);margin:0 0 40px;font-size:19px;line-height:1.55;color:var(--ink-2)}
.cl-team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:var(--cl-col)}
.cl-team-grid article{padding:28px;border-radius:24px;background:var(--sage)}
.cl-team-grid img,.cl-team-blank{display:block;width:64px;height:64px;margin-bottom:20px;border-radius:50%;object-fit:cover;background:#CFDCBB}
.cl-team-grid h3{margin:0 0 8px;font:500 24px/1.2 var(--serif)}
.cl-team-grid p{margin:0;font-size:17px;line-height:1.5;color:var(--ink-2)}

/* How it works: one section, the steps scroll past a frame that stays in view */
.cl-how2{max-width:1040px;margin:0 auto;padding:96px 0 40px}
.cl-how2 > h2{margin:0 0 40px;font:500 clamp(32px,4vw,48px)/1.08 var(--serif);letter-spacing:-.02em}
.cl-scroll{display:grid;grid-template-columns:minmax(0,1fr) 440px;gap:72px;align-items:start}
/* Each step is just tall enough for the frame to switch as you scroll; its text sits at the top, so the steps read as one list */
.cl-step2{min-height:44vh;display:flex;flex-direction:column;justify-content:flex-start;padding-top:40px;opacity:.35;transition:opacity .5s var(--cl-ease)}
.cl-step2:first-child{padding-top:8px}
.cl-step2:last-child{min-height:56vh}
.cl-step2.is-on{opacity:1}
.cl-step2 h3{margin:0 0 16px;font:500 clamp(30px,3.4vw,42px)/1.08 var(--serif);letter-spacing:-.02em;text-wrap:balance}
.cl-step2 h3 em{font-style:normal;color:var(--leaf)}
.cl-step2 p{margin:0;max-width:28rem;font-size:19px;line-height:1.55;color:var(--ink-2)}
.cl-step2 .cl-ch-num{margin:0 0 12px;font:600 16px/1 var(--sans);color:var(--leaf);letter-spacing:.04em}
.cl-step2 .cl-fine{margin-top:14px;font-size:15px}
.cl-stick{position:sticky;top:120px}
/* A plain sage surface: the product is the only picture here; the paintings keep the hero and the end */
.cl-frame{position:relative;height:560px;border-radius:var(--cl-r);overflow:hidden;background:var(--sage)}
.cl-vis{position:absolute;inset:0;display:flex;justify-content:center;padding-top:44px;opacity:0;transform:translateY(12px);transition:opacity .6s var(--cl-ease),transform .6s var(--cl-ease)}
.cl-vis.is-on{opacity:1;transform:none}
.cl-vis .stage{--pw:260px;margin:0}
.cl .cl-vis .phone{box-shadow:0 0 0 1.5px #3B3B3A,0 0 0 3px #1A1A19,0 30px 60px -20px rgba(60,40,20,.45)}
@media (prefers-reduced-motion:reduce){.cl-vis,.cl-step2{transition:none}}

/* The weekly report: a card, the numbers from the week, and your doctor's note */
.cl-vis-report{align-items:center;padding:0 28px}
.cl-report{width:100%;max-width:360px;padding:22px;border-radius:22px;background:var(--paper);box-shadow:0 30px 60px -24px rgba(60,40,20,.45)}
.cl-report-top{display:flex;justify-content:space-between;margin:0 0 10px;font-size:13px;font-weight:600;color:var(--leaf)}
.cl-report-title{margin:0 0 16px;font:500 22px/1.15 var(--serif);color:var(--ink-1)}
.cl-report-title em{display:block;font-style:normal;color:var(--leaf)}
.cl-report-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:14px}
.cl-report-stats p{margin:0;padding:10px;border-radius:12px;background:var(--sage);font-size:12px;line-height:1.3;color:var(--ink-2)}
.cl-report-stats b{display:block;font:500 20px/1.1 var(--serif);color:var(--ink-1)}
.cl-report-bars{display:flex;align-items:flex-end;gap:6px;height:96px;margin:0 0 14px;padding:0;list-style:none}
.cl-report-bars li{position:relative;flex:1;height:var(--h);border-radius:6px 6px 3px 3px;background:var(--leaf)}
.cl-report-bars li:first-child{background:#B9C9A6}
.cl-report-bars span{position:absolute;top:-16px;left:0;right:0;text-align:center;font-size:10px;color:var(--ink-2)}
.cl-report-bars i{position:absolute;bottom:-16px;left:0;right:0;text-align:center;font-size:10px;font-style:normal;color:var(--ink-2)}
.cl-report-note{display:flex;gap:10px;align-items:flex-start;margin-top:24px;padding:12px;border-radius:14px;background:var(--sage)}
.cl-report-note img{width:32px;height:32px;border-radius:50%;flex:none}
.cl-report-note p{margin:0;font-size:13px;line-height:1.4;color:var(--ink-1)}
.cl-report-note b{display:block;font-weight:600}

/* The proof: the two numbers as tiles, ours in basil, usual care in sage */
.cl-proofs .cl-stats{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0 20px}
.cl-proofs .cl-stats p{margin:0;padding:28px;border-radius:20px;background:var(--sage);font-size:16px;line-height:1.45;color:var(--ink-2)}
.cl-proofs .cl-stats b{display:block;margin-bottom:10px;font:500 clamp(56px,8vw,96px)/.9 var(--serif);letter-spacing:-.04em;color:var(--ink-2)}
.cl-proofs .cl-stats p:first-child{background:var(--basil);color:#D3DECA}
.cl-proofs .cl-stats p:first-child b{color:var(--paper)}

@media (max-width:860px){
  .cl-team{padding:24px 0 8px}
  .cl-team-grid{grid-template-columns:minmax(0,1fr);gap:12px}
  .cl-team-grid article{display:grid;grid-template-columns:56px minmax(0,1fr);gap:4px 16px;padding:20px}
  .cl-team-grid img,.cl-team-blank{grid-row:span 2;width:56px;height:56px;margin:0}
  .cl-team-grid h3{font-size:21px;margin:0}
  .cl-team-grid p{font-size:16px}
  .cl-how2{padding:64px 0 24px}
  .cl-scroll{display:flex;flex-direction:column-reverse;align-items:stretch;gap:0}
  .cl-stick{top:76px;z-index:1;margin-bottom:8px}
  .cl-frame{height:330px}
  .cl-vis{padding-top:24px}
  .cl-vis .stage{--pw:200px}
  .cl-vis-report{padding:0 16px}
  .cl-report{transform:scale(.74);transform-origin:50% 50%}
  /* The text sits at the bottom of each step's block, so it reads below the pinned frame */
  .cl-step2{min-height:74vh;justify-content:flex-end;padding:0 0 32px}
  .cl-step2:first-child,.cl-step2:last-child{min-height:74vh;padding:0 0 32px}
  .cl-step2 p{font-size:17px}
  .cl-proofs .cl-stats p{padding:20px}
}

/* One grid for the whole page (wiki/brand.md): every section sits in the same 1040 px container, its text starts
   at the container's left edge and stays at most 640 px wide, and every section has the same gap above it */
.cl-story,.cl-team,.cl-how2,.cl-faq{max-width:1040px;margin-left:auto;margin-right:auto;padding:112px 0 0}
.cl-story > *,.cl-faq > *{max-width:var(--cl-col);margin-left:0;margin-right:0}
.cl-proofs .cl-stats{max-width:var(--cl-col)}
.cl-faq{padding-bottom:0}
@media (max-width:860px){
  .cl-story,.cl-team,.cl-how2,.cl-faq{padding-top:72px}
}
/* The header and the hero's words start on the same edge as every section */
.cl-nav{padding-left:max(20px,calc((100% - 1040px)/2));padding-right:max(20px,calc((100% - 1040px)/2))}
.cl-hero{padding-left:max(40px,calc((100vw - 1040px)/2 - 16px));padding-right:max(40px,calc((100vw - 1040px)/2 - 16px))}
@media (max-width:860px){.cl-hero{padding-left:20px;padding-right:20px}}
/* The grid follows the hero's words, not its panel: at every width the page's content starts where the hero text
   starts (panel inset 16 px + hero padding 40 px = 56 px; on phones 12 + 20 = 32 px) */
.cl main{width:min(1040px,100% - 112px)}
.cl-nav{padding-left:max(56px,calc((100% - 1040px)/2));padding-right:max(56px,calc((100% - 1040px)/2))}
@media (max-width:860px){
  .cl main{width:calc(100% - 64px)}
  .cl-nav{padding-left:32px;padding-right:32px}
}


/* Step 01: what you send, as in the link-preview clip: big, untilted, barely overlapping, the walk as the real
   Fitness card (its own dark colors and Apple's font, so it reads as the real thing) */
.cl-vis-inputs{align-items:center;padding:0}
.cl-inputs{position:relative;width:400px;height:470px}
.cl-in{position:absolute;border-radius:22px;overflow:hidden;box-shadow:0 0 0 1px rgba(38,41,31,.06),0 24px 50px -20px rgba(38,41,31,.5)}
img.cl-in{object-fit:cover}
.cl-in-cuff{left:0;top:0;width:200px;height:222px;object-position:60% 55%}
.cl-in-meal{left:194px;top:30px;width:206px;height:206px}
.cl-in-walk{left:70px;top:236px;width:240px;padding:20px 22px;background:#1C1C1E;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text",sans-serif;letter-spacing:-.02em}
.cl-in-walk .kind{display:flex;align-items:center;gap:10px;font-size:19px;font-weight:600}
.cl-in-walk .kind i{width:30px;height:30px;border-radius:50%;background:#30D158;display:grid;place-items:center;font-style:normal;font-size:17px}
.cl-in-walk .wrow{margin-top:12px}
.cl-in-walk .v{display:block;font-size:36px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums}
.cl-in-walk .k{display:block;margin-top:4px;font-size:14px;color:#8E8E93}
@media (max-width:860px){.cl-inputs{transform:scale(.62)}}

/* The proof tiles: each says who, the number, and the same outcome, so the comparison reads at a glance */
.cl-proofs h2 em{display:block}
.cl-proofs .cl-stats span{display:block;margin-bottom:14px;font-size:15px;font-weight:600;color:inherit}
.cl-proofs .cl-stats p:first-child span{color:var(--paper)}
.cl-proofs .cl-stats p + p span{color:var(--ink-1)}
/* The founder panel mirrors the hero panel: same inner padding, text from the same left edge as every section */
.cl-trust-block{padding-left:max(40px,calc((100vw - 1040px)/2 - 16px));padding-right:max(40px,calc((100vw - 1040px)/2 - 16px))}
.cl-trust-block > *{margin-left:0;margin-right:0}
@media (max-width:860px){.cl-trust-block{padding-left:20px;padding-right:20px}}
.cl-trust-block h2.cl-mission,.cl-trust-block .cl-kicker{margin-left:0;margin-right:0}
/* Questions in two columns, as product pages set them: the heading on the left, the questions across the right */
.cl-faq{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.7fr);column-gap:64px;align-items:start}
.cl-faq > *{max-width:none}
.cl-faq h2{grid-column:1;grid-row:1 / span 10;margin:0}
.cl-faq details{grid-column:2}
@media (max-width:860px){
  .cl-faq{display:block}
  .cl-faq h2{margin-bottom:24px}
}
/* The wordmark mirrors the hero headline: the same face and weight, tight tracking, and the same two tones */
.cl-brand span{font:500 23px/1 var(--serif);letter-spacing:-.02em;color:var(--ink-1)}
.cl-brand b{font-weight:500;color:var(--leaf)}
/* The founder panel across the full grid: the mission on the left, the founder's words on the right,
   the three promises as one row across the bottom */
.cl-trust-block{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:72px;align-content:start}
.cl-trust-block > *,.cl-trust-block .cl-who > *{max-width:none}
.cl-who{display:contents}
.cl-trust-block .cl-kicker{grid-column:1;grid-row:1}
.cl-trust-block h2.cl-mission{grid-column:1;grid-row:2;margin-bottom:0}
.cl-quote{grid-column:2;grid-row:1 / span 2;align-self:start;margin-top:0!important}
.cl-sign{grid-column:2;grid-row:3;margin-bottom:56px!important}
.cl-promises{grid-column:1 / -1;grid-row:4;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;border-top:1px solid rgba(248,242,232,.16)}
.cl-promises li{border-top:0;padding:24px 0 0}
@media (max-width:860px){
  .cl-trust-block{display:block}
  .cl-who{display:block}
  .cl-trust-block h2.cl-mission{margin-bottom:32px}
  .cl-promises{display:block}
  .cl-promises li{border-top:1px solid rgba(248,242,232,.16);padding:18px 0}
}
/* Founder panel spacing and type: the label spans both columns so the mission and the quote start level;
   the quote steps down to a quote size with tight lines and a hanging opening mark; a gap above the panel */
.cl-trust-block{margin-top:112px;row-gap:0}
.cl-trust-block .cl-kicker{grid-column:1 / -1;grid-row:1;margin-bottom:20px!important}
.cl-trust-block h2.cl-mission{grid-row:2;align-self:start}
.cl-quote{grid-row:2!important;font-size:clamp(22px,2.2vw,26px)!important;line-height:1.38!important;text-indent:-.42em}
.cl-sign{margin-top:28px!important}
@media (max-width:860px){.cl-trust-block{margin-top:72px}.cl-quote{text-indent:0}}
.cl-end .cl-free{margin-top:20px}
/* Founder panel, final layout: the quote and the founder are one unit in the right column, level with the mission;
   the promises are their own row; no hanging quote mark */
.cl-who{display:block!important;grid-column:2;grid-row:2;align-self:start}
.cl-who .cl-quote{margin:0!important;text-indent:0}
.cl-who .cl-sign{margin:24px 0 0!important}
.cl-trust-block .cl-promises{grid-row:3;margin-top:64px}
.cl-trust-block{padding-bottom:96px}
@media (max-width:860px){.cl-who{margin-top:32px}.cl-trust-block .cl-promises{margin-top:40px}.cl-trust-block{padding-bottom:64px}}
/* Split sections use the full grid like the founder panel and the questions: the heading and its words on the left,
   the supporting content (an explanation, the team cards, the proof tiles) on the right */
.cl-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:72px;align-items:start}
.cl-split > *{grid-column:1;max-width:none!important}
.cl-split > .cl-right{grid-column:2;grid-row:1 / span 4;margin:0!important}
.cl-story.cl-split > p.cl-right{padding-top:8px}
.cl-split .cl-team-grid{grid-template-columns:minmax(0,1fr);gap:16px}
.cl-split .cl-team-grid article{display:grid;grid-template-columns:64px minmax(0,1fr);gap:4px 20px;align-items:start}
.cl-split .cl-team-grid img{grid-row:span 2;margin:0}
.cl-split .cl-team-grid h3{margin:0}
.cl-proofs.cl-split .cl-stats b{font-size:clamp(48px,6vw,76px)}
@media (max-width:860px){
  .cl-split{display:block}
  .cl-split > .cl-right{margin-top:24px!important}
}
/* Small type looks lighter than large type at the same weight, so the wordmark is one step heavier than the headline */
.cl-brand span,.cl-brand b{font-weight:600}

/* How it works as a bento: four sage cards, two across. Each has its number, one statement and one line,
   centered, and below them a real screen cut off by the card's bottom edge */
.cl-bento{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.cl-tile{position:relative;display:flex;flex-direction:column;align-items:center;height:620px;padding:44px 40px 0;border-radius:var(--cl-r);background:var(--sage);overflow:hidden;text-align:center}
.cl-tile-text{max-width:400px}
.cl-tile .cl-ch-num{margin:0 0 10px;font:600 15px/1 var(--sans);color:var(--leaf);letter-spacing:.04em}
.cl-tile h3{margin:0 0 10px;font:500 clamp(26px,2.4vw,32px)/1.1 var(--serif);letter-spacing:-.02em;text-wrap:balance}
.cl-tile h3 em{font-style:normal;color:var(--leaf)}
.cl-tile-text > p:not(.cl-ch-num){margin:0;font-size:17px;line-height:1.5;color:var(--ink-2)}
.cl-tile .cl-fine{margin-top:6px!important;font-size:14px!important}
.cl-tile-art{position:relative;flex:1;width:100%;display:flex;justify-content:center;align-items:flex-start;margin-top:32px}
.cl-tile-art .stage{--pw:240px;margin:0}
.cl .cl-tile-art .phone{box-shadow:0 0 0 1.5px #3B3B3A,0 0 0 3px #1A1A19,0 30px 60px -20px rgba(60,40,20,.4)}
.cl-tile-inputs .cl-inputs{transform:scale(.82);transform-origin:50% 0}
.cl-tile-report .cl-report{transform:scale(.92);transform-origin:50% 0}
@media (max-width:860px){
  .cl-bento{grid-template-columns:minmax(0,1fr);gap:14px}
  .cl-tile{height:540px;padding:32px 22px 0}
  .cl-tile-art .stage{--pw:220px}
  .cl-tile-inputs .cl-inputs{transform:scale(.7)}
  .cl-tile-report .cl-report{transform:scale(.86)}
}
.cl-tile-art .cl-report,.cl-tile-art .cl-inputs{text-align:left}

/* Surfaces (wiki/brand.md): one treatment per section type, so the middle of the page alternates instead of blending.
   The care team is plain type with portraits; the proof is pure type; How it works keeps the sage cards;
   the founder panel is the one dark moment. */
.cl-split .cl-team-grid{gap:0;border-top:1px solid var(--line)}
.cl-split .cl-team-grid article{padding:24px 0;border-radius:0;background:none;border-bottom:1px solid var(--line)}
.cl-split .cl-team-grid img{width:56px;height:56px}
/* The proof: two giant numbers side by side, split by a thin rule, no tiles */
.cl-proofs .cl-stats{gap:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.cl-proofs .cl-stats p,.cl-proofs .cl-stats p:first-child{padding:28px 0 28px 0;border-radius:0;background:none;color:var(--ink-2)}
.cl-proofs .cl-stats p + p{padding-left:32px;border-left:1px solid var(--line)}
.cl-proofs .cl-stats span,.cl-proofs .cl-stats p:first-child span,.cl-proofs .cl-stats p + p span{color:var(--ink-1)}
.cl-proofs .cl-stats p:first-child b{color:var(--basil)}
.cl-proofs .cl-stats p + p b{color:var(--ink-3)}
.cl-proofs.cl-split .cl-stats b{font-size:clamp(64px,7vw,104px)}

/* Three heading levels (wiki/brand.md): the hero; the story beats (the problem, the care team, the proof);
   the supporting sections (How it works, the mission, the questions, the end) */
.cl-story h2,.cl-team h2{font-size:clamp(34px,4vw,48px)!important;line-height:1.08}
.cl-how2 > h2,.cl-trust-block h2.cl-mission,.cl-faq h2,.cl-end h2{font-size:clamp(28px,2.8vw,36px)!important;line-height:1.12}

/* Step 02: Basil as it arrives, the way iOS shows a text on the lock screen: the contact photo with the Messages badge, on glass over a plain basil wallpaper, so the hero painting stays the only painting on screen */
.cl-lock{background:radial-gradient(120% 70% at 85% 105%,#5B7450 0%,rgba(91,116,80,0) 60%),radial-gradient(90% 55% at 10% 0%,#3C5E45 0%,rgba(60,94,69,0) 70%),linear-gradient(170deg,#2B4A34,#16281C);color:#fff;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",sans-serif}
.cl-lock::before{content:none}
.cl-lock > *{position:relative}
.cl-lock .island,.cl-lock .home-bar{position:absolute}
.cl-lock-time{padding-top:3.1em;text-align:center}
.cl-lock-time p{margin:0;font-size:1.05em;font-weight:600;letter-spacing:-.01em}
.cl-lock-time b{display:block;margin-top:-.04em;font-family:"SF Pro Rounded",ui-rounded,-apple-system,sans-serif;font-size:5.4em;font-weight:700;line-height:1;letter-spacing:-.02em;
  color:rgba(255,255,255,.62);text-shadow:0 0 1px rgba(255,255,255,.5),0 2px 18px rgba(0,0,0,.12)}
.cl-lock-notes{display:flex;flex-direction:column;gap:.5em;padding:1.5em .55em 0}
.cl-lock-note{display:flex;align-items:center;gap:.65em;padding:.75em .85em .8em .7em;border-radius:1.35em;
  background:rgba(255,255,255,.16);box-shadow:inset 0 0 0 1px rgba(255,255,255,.2),0 6px 20px -10px rgba(0,0,0,.35);
  -webkit-backdrop-filter:blur(18px) saturate(1.5);backdrop-filter:blur(18px) saturate(1.5);color:#fff;text-align:left}
.cl-lock-note > div{flex:1;min-width:0}
.cl-lock-av{position:relative;flex:none;width:2.6em;height:2.6em}
.cl-lock-av img{width:100%;height:100%;border-radius:50%;object-fit:cover;background:#F3EEDF}
.cl-lock-av i{position:absolute;right:-.12em;bottom:-.12em;width:1.05em;height:1.05em;border-radius:.3em;background:linear-gradient(#5BF675,#0CBD2A)}
.cl-lock-av i::before{content:"";position:absolute;left:.2em;top:.24em;width:.65em;height:.5em;border-radius:50%;background:#fff}
.cl-lock-note p{margin:0;font-size:.82em;line-height:1.28;color:rgba(255,255,255,.92)}
.cl-lock-h{display:flex;justify-content:space-between;align-items:baseline;gap:.5em;margin-bottom:.05em!important}
.cl-lock-h b{font-weight:600;color:#fff}
.cl-lock-h span{font-size:.92em;color:rgba(255,255,255,.62)}


/* Step 01: what you send, as three equal cards in a row, each with what Basil logged from it. Equal sizes and no overlap, so it reads at a glance */
.cl .cl-tile-inputs .cl-inputs{position:static;transform:none;display:grid;grid-template-columns:repeat(3,1fr);gap:14px;width:100%;max-width:470px;height:auto;margin:0 auto}
.cl-inputs figure{margin:0;min-width:0}
.cl-inputs .cl-in{position:static;display:block;width:100%;height:auto;aspect-ratio:4/5;border-radius:18px;box-shadow:0 0 0 1px rgba(38,41,31,.06),0 14px 30px -18px rgba(38,41,31,.45)}
.cl-inputs img.cl-in{object-position:60% 55%}
.cl-inputs .cl-in-walk{box-sizing:border-box;padding:12% 11%;container-type:inline-size}
.cl-inputs .cl-in-walk .kind{gap:6%;font-size:clamp(10px,9cqw,15px)}
.cl-inputs .cl-in-walk .kind i{width:1.5em;height:1.5em;font-size:.85em}
.cl-inputs .cl-in-walk .wrow{margin-top:12%}
.cl-inputs .cl-in-walk .v{font-size:clamp(16px,17cqw,28px)}
.cl-inputs .cl-in-walk .k{font-size:clamp(10px,8cqw,13px)}
.cl-inputs figcaption{margin-top:10px;text-align:center;line-height:1.3}
.cl-inputs figcaption span{display:block;font-size:15px;color:var(--ink-2)}
.cl-inputs figcaption b{display:block;font-size:16px;font-weight:600;color:var(--ink-1)}
@media (max-width:640px){.cl .cl-tile-inputs .cl-inputs{gap:10px}.cl-inputs figcaption span{font-size:14px}.cl-inputs figcaption b{font-size:15px}}

/* The end: one even rhythm, 28 px from the heading to the button and from the button to the terms */
.cl .cl-end h2{margin:0 auto 28px}
.cl .cl-end .cl-free{margin:28px auto 0;line-height:1.6}


/* The first screen has one filled button. The header button is an outline pill over the hero, and fills once the hero has scrolled away; the header line appears then too, so the logo and the hero read as one surface */
.cl-nav{border-bottom-color:transparent;transition:border-color .4s}
.cl-nav.is-past{border-bottom-color:var(--line)}
.cl-nav .cl-btn{background:transparent;color:var(--basil);box-shadow:inset 0 0 0 1.5px var(--basil);transition:background .4s,color .4s,box-shadow .4s,transform .7s var(--cl-ease)}
.cl-nav.is-past .cl-btn{background:var(--basil);color:var(--paper);box-shadow:none}
.cl-nav .cl-btn:hover{opacity:1;background:var(--basil);color:var(--paper)}

/* The hero form in the page's own materials: warm paper fields, the slash in the heading font */
.cl .cl-start-label{font-size:16px;color:var(--ink-2)}
.cl .cl-start input{background:#FFFBF4;border:1px solid rgba(38,41,31,.16);box-shadow:inset 0 1px 2px rgba(38,41,31,.05);transition:border-color .3s,box-shadow .3s}
.cl .cl-start input:hover{border-color:rgba(38,41,31,.32)}
.cl .cl-start input:focus{outline:none;border-color:var(--basil);box-shadow:0 0 0 3px rgba(36,69,47,.16)}
.cl .cl-start input::placeholder{color:var(--ink-3);font-size:16px}
.cl .cl-start-pair span{font:400 34px/1 var(--serif);color:var(--ink-2)}

/* The problem is the only five-line headline; one step smaller, its two columns end close together */

/* States: a press, a hover on the questions, and a clear ring for keyboard focus everywhere */
.cl-btn:active{transform:translateY(0) scale(.98)}
.cl-faq summary{transition:color .3s}
.cl-faq summary:hover,.cl-faq summary:hover::after{color:var(--leaf)}
.cl a:focus-visible,.cl button:focus-visible,.cl summary:focus-visible{outline:2px solid var(--basil);outline-offset:3px;border-radius:6px}
.cl .cl-btn:focus-visible{border-radius:999px}


/* How it works cards are oat, a deeper shade of the paper, so they sit in the painting's light and the green lock screen stands out */
.cl .cl-tile{background:var(--oat)}


/* Step 01 in two rows: the two photos side by side, the walk as a wide Fitness summary under them, so each picture has room. Captions are one line */
.cl .cl-tile-inputs .cl-inputs{grid-template-columns:1fr 1fr;row-gap:14px;max-width:440px}
.cl-inputs .cl-in{aspect-ratio:1/1}
.cl-inputs figure:nth-child(3){grid-column:1/-1}
.cl-inputs figure:nth-child(3) .cl-in-walk{aspect-ratio:auto;display:grid;grid-template-columns:repeat(3,1fr);column-gap:12px;padding:14px 18px 16px;container-type:normal}
.cl-inputs figure:nth-child(3) .cl-in-walk .kind{grid-column:1/-1;font-size:14px}
.cl-inputs figure:nth-child(3) .cl-in-walk .wrow{margin-top:10px}
.cl-inputs figure:nth-child(3) .cl-in-walk .v{font-size:clamp(18px,4.6vw,24px)}
.cl-inputs figure:nth-child(3) .cl-in-walk .k{font-size:12px}
.cl-inputs figcaption{margin-top:8px;font-size:15px}
.cl-inputs figcaption span,.cl-inputs figcaption b{display:inline;font-size:15px}
@media (max-width:640px){.cl-inputs figure:not(:nth-child(3)) figcaption span{display:block}.cl-inputs figure:not(:nth-child(3)) figcaption span{font-size:14px}}
.cl-inputs figcaption i{font-style:normal;color:var(--ink-3)}
@media (max-width:640px){.cl-inputs figure:not(:nth-child(3)) figcaption i{display:none}}
.cl-inputs figure:nth-child(3) .cl-in-walk .kind{justify-content:flex-start;gap:8px}


/* On phones the hero has no painting: the words, the form and the button, on the painting's warm cream, so the story starts in the first screen */
@media (max-width:860px){
  .cl .cl-hero{padding-bottom:40px;background:linear-gradient(170deg,#FAEBD6,#F6EEDF 60%,#F1EBDC)}
}


/* The founder line runs on from the first sentence, in leaf green, with no break between them */
.cl .cl-trust-block h2.cl-mission em{display:inline}

/* Phone rhythm: 72 px above every section, 20 px from a heading to what follows it, 28 px from words to a picture or a list */
@media (max-width:640px){
  .cl .cl-story h2,.cl .cl-team h2,.cl .cl-how2 > h2,.cl .cl-faq h2,.cl .cl-trust-block h2.cl-mission{margin-bottom:20px!important}
  .cl .cl-story > p,.cl .cl-team-sub{margin-top:0!important}
  .cl .cl-team-grid,.cl .cl-proofs .cl-stats,.cl .cl-trust-block .cl-who,.cl .cl-trust-block .cl-promises{margin-top:28px!important}
  .cl .cl-trust-block .cl-kicker{margin-bottom:12px!important}
  .cl .cl-proofs .cl-src{margin-bottom:0!important}
  .cl .cl-how2 .cl-bento{margin-top:0!important}
  .cl .cl-team-sub,.cl .cl-proofs > p{margin-bottom:0!important}
  .cl .cl-proofs .cl-src{margin-top:16px!important}
}

/* Headlines on phones fill the line: balanced wrapping left the right third empty, so they wrap normally and use the full width */
@media (max-width:640px){
  .cl .cl-story h2,.cl .cl-team h2,.cl .cl-trust-block h2.cl-mission{max-width:none;text-wrap:pretty}
  .cl .cl-story h2 em,.cl .cl-team h2 em{text-wrap:pretty}
}
@media (max-width:640px){.cl .cl-story h2,.cl .cl-team h2,.cl #problem-h{font-size:31px!important;line-height:1.12}}


/* How it works in motion: each card plays its moment once, when it scrolls into view. Only with JS on and "reduce motion" off; otherwise everything is simply shown */
@keyframes cl-pop{from{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1;transform:none}}
@keyframes cl-drop{from{opacity:0;transform:translateY(-18px) scale(.95)}to{opacity:1;transform:none}}
@keyframes cl-fade{from{opacity:0}to{opacity:1}}
@keyframes cl-grow{from{height:0}to{height:var(--h)}}
@keyframes cl-bub-out{from{opacity:0;transform:translateY(10px) scale(.88)}to{opacity:1;transform:none}}
@keyframes cl-bub-in{from{opacity:0;transform:translateY(10px) scale(.88)}to{opacity:1;transform:none}}
.cl-motion .cl-tile:not(.is-on) .cl-inputs figure,
.cl-motion .cl-tile:not(.is-on) .cl-inputs figcaption b,
.cl-motion .cl-tile:not(.is-on) .cl-lock-note,
.cl-motion .cl-tile:not(.is-on) .cl-report,
.cl-motion .cl-tile:not(.is-on) .cl-report-stats p,
.cl-motion .cl-tile:not(.is-on) .cl-report-note,
.cl-motion .cl-tile:not(.is-on) .thread .row{opacity:0}
.cl-motion .cl-tile:not(.is-on) .cl-report-bars li{height:0}
/* 01: the three things arrive one by one, then what Basil logged from each */
.cl-motion .is-on .cl-inputs figure{animation:cl-pop .8s cubic-bezier(.34,1.3,.64,1) both}
.cl-motion .is-on .cl-inputs figure:nth-child(2){animation-delay:.14s}
.cl-motion .is-on .cl-inputs figure:nth-child(3){animation-delay:.28s}
.cl-motion .is-on .cl-inputs figcaption b{animation:cl-fade .5s ease both;animation-delay:.9s}
.cl-motion .is-on .cl-inputs figure:nth-child(2) figcaption b{animation-delay:1.05s}
.cl-motion .is-on .cl-inputs figure:nth-child(3) figcaption b{animation-delay:1.2s}
/* 02: Basil's texts land on the lock screen through the day, morning first, the newest on top */
.cl-motion .is-on .cl-lock-note{animation:cl-drop .7s cubic-bezier(.34,1.35,.64,1) both}
.cl-motion .is-on .cl-lock-note:nth-child(3){animation-delay:.3s}
.cl-motion .is-on .cl-lock-note:nth-child(2){animation-delay:1.1s}
.cl-motion .is-on .cl-lock-note:nth-child(1){animation-delay:1.9s}
/* 03: the report rises, the week's bars grow day by day, then the doctor's note */
.cl-motion .is-on .cl-report{animation:cl-pop .8s cubic-bezier(.22,1,.36,1) both}
.cl-motion .is-on .cl-report-stats p{animation:cl-fade .5s ease both;animation-delay:.35s}
.cl-motion .is-on .cl-report-stats p:nth-child(2){animation-delay:.45s}
.cl-motion .is-on .cl-report-stats p:nth-child(3){animation-delay:.55s}
.cl-motion .is-on .cl-report-bars li{animation:cl-grow .7s cubic-bezier(.22,1,.36,1) both}
.cl-motion .is-on .cl-report-bars li:nth-child(1){animation-delay:.55s}
.cl-motion .is-on .cl-report-bars li:nth-child(2){animation-delay:.63s}
.cl-motion .is-on .cl-report-bars li:nth-child(3){animation-delay:.71s}
.cl-motion .is-on .cl-report-bars li:nth-child(4){animation-delay:.79s}
.cl-motion .is-on .cl-report-bars li:nth-child(5){animation-delay:.87s}
.cl-motion .is-on .cl-report-bars li:nth-child(6){animation-delay:.95s}
.cl-motion .is-on .cl-report-bars li:nth-child(7){animation-delay:1.03s}
.cl-motion .is-on .cl-report-note{animation:cl-pop .7s cubic-bezier(.34,1.3,.64,1) both;animation-delay:1.5s}
/* 04: your question goes out, then your doctor's two replies come back */
.cl-motion .is-on .thread .row.out{animation:cl-bub-out .55s cubic-bezier(.34,1.4,.64,1) both;animation-delay:.3s;transform-origin:right bottom}
.cl-motion .is-on .thread .row.in{animation:cl-bub-in .55s cubic-bezier(.34,1.4,.64,1) both;animation-delay:1.3s;transform-origin:left bottom}
.cl-motion .is-on .thread .row.in + .row.in{animation-delay:2.1s}
/* Photo captions on two lines at every width, so "~600 mg salt" never breaks */
.cl-inputs figure:not(:nth-child(3)) figcaption span{display:block}
.cl-inputs figure:not(:nth-child(3)) figcaption i{display:none}

/* The sprig is tall and narrow; a little taller than the wordmark so its leaves read */
.cl .cl-brand img{height:32px}

/* Small print and the usual-care number in ink-2, so they pass contrast */
.cl .cl-story .cl-src,.cl .cl-story .cl-src a{color:var(--ink-2)}
.cl .cl-proofs .cl-stats p:last-child b{color:var(--ink-2)}
/* The report at full size, so its words are readable; the phone mocks larger on phones */
.cl .cl-tile-report .cl-report{transform:none}


/* Phones have two edges and only two: every panel (the hero, the How it works cards, the founder panel) sits 12 px from the screen, and every word sits 32 px from it, on the logo's edge. Phone mocks keep a margin inside their card */
@media (max-width:640px){
  .cl .cl-bento{margin-left:-20px;margin-right:-20px}
  .cl .cl-tile{padding:36px 20px 0;text-align:left;align-items:stretch}
  .cl .cl-tile-text{text-align:left}
  .cl .cl-tile-art{align-self:center}
  .cl .cl-tile-art .stage{--pw:264px}
}
