/* Medial site, version 2: the onboarding's look (STYLE.md, BUILD-PROMPT section 9). One flat saturated panel per chapter, edge to
   edge; one big cartoon per chapter cropped by the window's edge; real screenshots as flat white cards. No gradients, no shadows. */
@font-face{font-family:"Readex Pro";font-style:normal;font-weight:300 700;font-display:swap;src:url(../fonts/readex-pro-arabic.woff2) format("woff2");
  unicode-range:U+0600-06FF,U+0750-077F,U+0870-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"Readex Pro";font-style:normal;font-weight:300 700;font-display:swap;src:url(../fonts/readex-pro-latin.woff2) format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Readex Fallback";src:local("Tahoma"),local("Segoe UI"),local("Arial");size-adjust:104%;ascent-override:96%;descent-override:30%;line-gap-override:0%}

/* ---------- panels (the onboarding's colours, light then dark) ---------- */
:root{
  --p-green:#076b69;--p-deep:#092f4c;--p-amber:#cfe5ef;--p-coral:#e0f3f1;--p-teal:#125472;
  --e-green:#055754;--e-deep:#061f34;--e-amber:#a6cad9;--e-coral:#b1dcd8;--e-teal:#0d415a;
  --ink-dark:#092f4c;
  --card:#fff;--card-ink:#092f4c;
  --wrap:1240px;--pad:clamp(16px,4vw,56px);--hdr:64px;
  --f:"Readex Pro","Readex Fallback",system-ui,sans-serif;
  color-scheme:light;background:var(--p-coral);
}
@media (prefers-color-scheme:dark){:root{
  --p-green:#09514f;--p-deep:#081e31;--p-amber:#183d54;--p-coral:#0b2c43;--p-teal:#10435a;
  --e-green:#073f3e;--e-deep:#051625;--e-amber:#0f2d40;--e-coral:#081f31;--e-teal:#0c3346;
  --ink-dark:#fff;--card:#f4f1ec;color-scheme:dark}}
[data-panel="green"]{--panel:var(--p-green);--edge:var(--e-green);--on:#fff}
[data-panel="deep"]{--panel:var(--p-deep);--edge:var(--e-deep);--on:#fff}
[data-panel="teal"]{--panel:var(--p-teal);--edge:var(--e-teal);--on:#fff}
[data-panel="amber"]{--panel:var(--p-amber);--edge:var(--e-amber);--on:var(--ink-dark)}
[data-panel="coral"]{--panel:var(--p-coral);--edge:var(--e-coral);--on:var(--ink-dark)}
.panel{background:var(--panel);color:var(--on);position:relative;overflow:clip}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:calc(var(--hdr) + 12px)}
body{margin:0;font-family:var(--f);font-size:18px;line-height:1.65;overflow-x:clip;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
button{font:inherit;color:inherit}
h1,h2,h3{margin:0;line-height:1.08;font-weight:700;letter-spacing:-.01em}
p{margin:0}
a{color:inherit}
:focus-visible{outline:3px solid var(--on,#082419);outline-offset:3px;border-radius:6px}
.wrap{max-width:var(--wrap);margin-inline:auto;padding-inline:var(--pad);position:relative;z-index:1}
.nojs{padding:40px;text-align:center}
.narrowOnly{display:none}

/* ---------- header: its own flat bar in the colour of the panel under it, sticky ---------- */
html[data-hp="green"] .top{--panel:var(--p-green);--on:#fff}html[data-hp="deep"] .top{--panel:var(--p-deep);--on:#fff}html[data-hp="teal"] .top{--panel:var(--p-teal);--on:#fff}
html[data-hp="amber"] .top{--panel:var(--p-amber);--on:var(--ink-dark)}html[data-hp="coral"] .top{--panel:var(--p-coral);--on:var(--ink-dark)}
.top{position:sticky;top:0;z-index:20;min-height:var(--hdr);display:flex;align-items:center;gap:20px;padding:0 var(--pad);background:var(--panel,var(--p-coral));color:var(--on,var(--ink-dark));transition:background-color .35s ease,color .35s ease}
.skip{position:absolute;inset-inline-start:12px;top:-60px;background:#fff;color:#082419;padding:10px 16px;border-radius:10px;font-weight:600;text-decoration:none}
.skip:focus{top:10px}
.mark{display:flex;align-items:center;gap:12px;text-decoration:none;flex:none}
.mark img{width:36px;height:36px;border-radius:10px;box-shadow:0 0 0 2px #fff}
.mark b{display:block;font-size:19px;line-height:1.15}.mark small{display:block;font-size:13px;line-height:1.3}
.nav{display:flex;gap:4px;margin-inline-start:auto}
.nav a{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border-radius:999px;text-decoration:none;font-weight:600;font-size:16px}
.nav a:hover{background:rgba(255,255,255,.18)}
.nav a[aria-current="page"]{background:#fff;color:#0b4a34}
.menu{display:none;margin-inline-start:auto;min-height:44px;padding:0 18px;border-radius:999px;border:2px solid currentColor;background:transparent;font-weight:600;cursor:pointer}
.soon{display:inline-block;font-size:.7em;font-weight:700;line-height:1;padding:.35em .6em;border-radius:999px;background:#fff;color:#0b4a34;vertical-align:middle}
@media (prefers-color-scheme:dark){.soon,.nav a[aria-current="page"]{background:#f4f1ec}}
@media (max-width:1099.98px){
  .menu{display:block}
  .nav{display:none;position:absolute;top:100%;inset-inline:0;flex-direction:column;gap:0;padding:8px var(--pad) 18px;background:var(--panel,var(--p-coral))}
  .top.open .nav{display:flex}
  .nav a{min-height:52px;font-size:18px}
}

/* ---------- pictures ---------- */
.art{position:relative;overflow:hidden;pointer-events:none}
.art>svg{position:absolute;inset:0;width:100%;height:100%;display:block}
.art.off .ma,.art.off .ma *{animation-play-state:paused!important}

/* ---------- shared bits ---------- */
.head h1,.head h2,.heroText h1,.heroText h2{font-size:clamp(40px,5.6vw,84px)}
.head p,.heroText>p{margin-top:16px;font-size:clamp(18px,1.6vw,22px);max-width:42ch}
.big{font-size:clamp(19px,1.8vw,24px)!important}
.small{font-size:16px!important}
.words{list-style:none;margin:28px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:10px 12px;max-width:820px}
.words li{font-size:17px;font-weight:600;padding:8px 16px;border-radius:999px;border:2px solid var(--on)}
.btn{display:inline-flex;align-items:center;min-height:52px;padding:0 26px;border-radius:14px;background:#0b4a34;color:#fff;font-weight:600;text-decoration:none;font-size:18px}
.btn2{background:transparent;color:var(--on);box-shadow:inset 0 0 0 2px var(--on)}
[data-panel="deep"] .btn,[data-panel="green"] .btn,[data-panel="teal"] .btn{background:#fff;color:#0b4a34}
@media (prefers-color-scheme:dark){.btn{background:#f4f1ec;color:#0b4a34}}
/* a screenshot: a flat white card with the app's own rounded corners, an edge in the panel's darker shade, never above its real size */
.card{margin:0;width:min(100%,var(--w,1120px))}
.card img{width:100%;border-radius:14px;background:var(--card);box-shadow:0 0 0 2px var(--edge)}
.card figcaption{margin-top:12px;font-size:17px;max-width:64ch}
.phonecard{--w:300px}.phonecard img{border-radius:26px;box-shadow:0 0 0 6px var(--card),0 0 0 8px var(--edge)}
.papercard img,.sheet img{border-radius:4px}
.sheet{margin:0}.sheet img{box-shadow:0 0 0 2px var(--edge);background:#fff}
.swap{animation:swap .45s cubic-bezier(.2,.7,.2,1) both}
@keyframes swap{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

/* ---------- arrangement 1: text on the start side, the picture filling to the window's left edge ---------- */
.hero{display:grid;grid-template-columns:max(470px,44vw) minmax(0,1fr);align-items:stretch}
.hero .heroText{position:relative;z-index:1;padding:56px 40px 56px var(--pad);padding-inline:var(--pad) 40px;display:flex;flex-direction:column;justify-content:center}
.hero .art{min-height:clamp(420px,44vw,640px)}
/* arrangement 2: a full-width band above (or below) the text */
.art.band{height:clamp(260px,32vw,460px)}
.art.band.low{margin-top:40px}
/* arrangement 3: a tall strip on the end side (physically right is taken by the text, so the strip sits left, under the cards) */
.stripWrap{position:relative}
.art.strip{position:absolute;top:0;bottom:0;left:0;width:42%}
/* arrangement 4: led by a very large screenshot; a small picture in the top corner */
.art.corner{position:absolute;top:0;left:0;width:min(36vw,460px);height:min(30vw,380px)}

/* ---------- 1. opening ---------- */
.open .hero .art{min-height:calc(min(100svh,880px) - var(--hdr))}
.open .heroText{padding-block:40px}
.open h1{font-size:clamp(42px,5.2vw,80px)}
.open h1 .a{display:block}.open h1 .b{display:block;font-weight:300}
.field{margin-top:clamp(22px,2.4vw,34px)}
.fhint{font-size:17px;margin-bottom:10px}
.scanform{margin:0}
.scan{display:flex;align-items:center;gap:14px;background:#fdf4cf;border:2px solid #fff;border-radius:18px;padding:0 22px;height:clamp(62px,6.4vw,88px);color:#111}
.scan svg{flex:none;width:30px;height:30px;fill:none;stroke:#6b4d05;stroke-width:2.2;stroke-linecap:round}
.scan input{flex:1;min-width:0;border:0;background:transparent;font:inherit;font-size:clamp(24px,2.8vw,40px);font-weight:600;color:#111;outline:none;padding:0;-webkit-appearance:none;appearance:none}
.scan input::-webkit-search-cancel-button{display:none}
.scan input::placeholder{color:#6b4d05;opacity:.75;font-weight:400}
.scan:focus-within{outline:3px solid var(--on);outline-offset:3px}
.scan kbd{flex:none;font:inherit;font-size:15px;color:#6b4d05;border:1.5px solid #d39522;border-radius:8px;padding:2px 10px;direction:ltr}
@media (hover:none){.scan kbd{display:none}}
.picks{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.picks button{min-height:46px;padding:6px 16px;border-radius:12px;border:2px solid var(--on);background:transparent;color:var(--on);cursor:pointer;display:flex;gap:10px;align-items:baseline;font-size:17px;font-weight:600}
.picks button span{font-weight:400;font-size:15px}
.picks button[aria-pressed="true"]{background:#0b4a34;border-color:#0b4a34;color:#fff}
@media (prefers-color-scheme:dark){.picks button[aria-pressed="true"]{background:#f4f1ec;border-color:#f4f1ec;color:#0b4a34}}
.auto{margin-top:14px;min-height:44px;padding:0 18px;border-radius:999px;border:2px solid var(--on);background:transparent;color:var(--on);font-size:15px;font-weight:600;cursor:pointer}
.stage{min-height:clamp(380px,48vw,720px);padding-bottom:clamp(48px,6vw,96px);display:flex;justify-content:center;align-items:flex-start}
.stage .card.big{width:min(100%,1120px)}
.nomatch{font-size:clamp(18px,1.6vw,22px);font-weight:600;padding:28px;border-radius:16px;border:2px dashed var(--on);max-width:56ch}

/* ---------- 2. one prescription ---------- */
.rx .wrap{padding-block:clamp(48px,6vw,90px) clamp(56px,7vw,110px)}
.kicker{font-size:18px;font-weight:700}
.rxno{white-space:nowrap;font-size:clamp(40px,11vw,160px);line-height:.95;letter-spacing:-.035em;margin-top:6px}
.who{margin-top:16px;font-size:clamp(22px,2.4vw,34px)}.who span{font-weight:300}
.lead{margin-top:10px;font-size:clamp(17px,1.5vw,21px);max-width:46ch}
.rxgrid{display:grid;grid-template-columns:minmax(300px,480px) minmax(0,1fr);gap:clamp(32px,5vw,72px);margin-top:clamp(36px,4vw,60px)}
.sticky{position:sticky;top:calc(var(--hdr) + 20px)}
.stops{list-style:none;margin:0;padding:0}
.stop{min-height:min(70vh,620px);padding-bottom:48px}
.stop:last-child{min-height:0}
.stop .n{display:flex;align-items:center;gap:14px;font-size:clamp(28px,3vw,42px);font-weight:700;line-height:1.1}
.stop .n i{font-style:normal;display:inline-grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#fff;color:#0b4a34;font-size:20px;flex:none}
.stop .sp{margin-top:14px;font-size:clamp(18px,1.5vw,21px);max-width:42ch}
.stop .card{margin-top:24px}

/* ---------- 3. reception: the display overlaps the strip ---------- */
.reception .wrap{padding-block:clamp(56px,7vw,100px)}
.reception .head{margin-inline-start:0;max-width:640px}
.wall{position:relative;margin-top:clamp(36px,4vw,56px);max-width:1000px}
.tv{margin:0}
.bezel{background:#141414;padding:clamp(6px,1vw,14px);border-radius:16px}
.bezel img{border-radius:4px}
.tv figcaption,.ticket figcaption{margin-top:14px;font-size:17px}
.ticket{position:absolute;inset-inline-end:clamp(-120px,-8vw,-16px);bottom:-40px;width:min(240px,24%);margin:0}
.ticket img{border-radius:4px;box-shadow:0 0 0 2px var(--edge);background:#fff}
.ticket figcaption{display:none}
.reception .art.strip{width:38%}

/* ---------- 4. doctor and 10. first run: the screenshot leads ---------- */
.lay-shot .wrap{padding-block:clamp(56px,7vw,100px)}
.lay-shot .head{max-width:620px}
.lay-shot .card.big{margin-top:clamp(32px,4vw,52px);width:min(100%,1120px)}

/* ---------- 5. lab ---------- */
.labgrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,560px);gap:clamp(32px,5vw,72px);align-items:start;padding-block:clamp(48px,6vw,90px)}
.labgrid .sheet{margin-top:calc(clamp(100px,12vw,180px) * -1)}

/* ---------- 6. pharmacy: the card overlaps the picture ---------- */
.over{padding-bottom:clamp(56px,7vw,100px)}
@media (min-width:1200px){.over{margin-top:calc(clamp(110px,12vw,200px) * -1)}}
.pharmacy .hero .art{min-height:clamp(480px,48vw,700px)}
.pharmacy .heroText{justify-content:flex-start;padding-top:clamp(56px,6vw,90px);padding-bottom:clamp(40px,4vw,60px)}
@media (min-width:1200px){.pharmacy .heroText{padding-bottom:clamp(150px,13vw,220px)}}

/* ---------- 7. sync ---------- */
.sync .wrap{padding-top:clamp(56px,7vw,100px)}
.sync .head p{max-width:52ch}

/* ---------- 8. phone ---------- */
.phone .wrap{padding-block:clamp(56px,7vw,100px)}
.phone .head{max-width:640px}
.phones{display:flex;gap:clamp(20px,3vw,40px);margin-top:clamp(32px,4vw,52px);flex-wrap:wrap}
.phones .card{width:min(300px,44vw)}
.phones .card figcaption{font-size:16px}
.phone .art.strip{width:40%}

/* ---------- 9. Prescriptions on Home ---------- */
.rxapp .heroText .btn{margin-top:26px}

/* ---------- footer ---------- */
.end{display:grid;grid-template-columns:max(470px,44vw) minmax(0,1fr)}
.endtext{padding:clamp(56px,7vw,100px) var(--pad);display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.endtext img{border-radius:16px;box-shadow:0 0 0 3px #fff;margin-bottom:14px}
.endName{font-size:clamp(52px,7vw,110px);font-weight:700;line-height:1.05;margin-bottom:10px!important}
.end p{font-size:19px}
.endOs{letter-spacing:.04em}
.gets{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px!important}
.footnav{display:flex;flex-wrap:wrap;gap:4px 18px;margin-top:22px}
.footnav a{min-height:44px;display:inline-flex;align-items:center;font-weight:600;text-underline-offset:4px}
.endart{min-height:clamp(320px,34vw,520px)}

/* ---------- other pages ---------- */
.pagehero .hero .art{min-height:calc(min(86svh,780px) - var(--hdr))}
.pagehero h1 .soon{font-size:.36em;margin-inline-start:12px}
.rxapp h2 .soon{font-size:.36em;margin-inline-start:12px}
.part .wrap{padding-block:clamp(56px,7vw,96px)}
.partgrid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:clamp(32px,6vw,96px);align-items:center}
.part.flip .partgrid{grid-template-columns:auto minmax(0,1fr)}
.part.flip .partgrid .head{order:2}
.part .head h2{font-size:clamp(34px,4.4vw,64px)}
.part .card{width:min(320px,80vw)}
.plansec .wrap{padding-block:clamp(56px,7vw,100px)}
.plans{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}
.plan{background:var(--card);color:var(--card-ink);border-radius:20px;padding:28px 26px}
.plan h2{font-size:26px}
.plan .price{margin-top:18px;font-size:17px}.plan .price b{font-size:40px;font-weight:700;margin-inline-end:6px}
.plan .year{margin-top:4px;font-size:16px;color:#46574f}.plan .year b{font-weight:700}
.plan ul{margin:18px 0 0;padding:0;list-style:none;border-top:2px solid #d3ddd8}
.plan ul li{padding:10px 0;border-bottom:1px solid #e3e9e6;font-size:16px}
.askline{margin-top:36px!important;display:flex;flex-wrap:wrap;gap:12px;align-items:center;font-size:19px}
.cdl{margin:28px 0 0;display:grid;gap:14px}
.cdl div{display:flex;gap:16px;align-items:baseline;font-size:20px}
.cdl dt{font-weight:700;min-width:7em}.cdl dd{margin:0}

/* ---------- motion ---------- */
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* ---------- narrow screens: designed for the thumb; the picture becomes a full-width band ---------- */
@media (max-width:899.98px){
  body{font-size:17px}
  .wideOnly{display:none}
  .narrowOnly{display:block}
  .hero,.end{grid-template-columns:minmax(0,1fr)}
  .hero .art,.endart{grid-row:1;min-height:0;height:58vw}
  .open .hero .art,.pagehero .hero .art{min-height:0;height:62vw}
  .hero .heroText{padding:24px var(--pad) 28px}
  .open h1{font-size:clamp(38px,10.4vw,60px)}
  .head h2,.heroText h2,.heroText h1{font-size:clamp(36px,10vw,56px)}
  .stage{min-height:0;padding-bottom:48px}
  .rxgrid{grid-template-columns:minmax(0,1fr)}
  .sticky{position:static}
  .stop{min-height:0}
  .art.strip{position:relative;width:auto!important;height:56vw;inset:auto}
  .art.corner{position:relative;width:auto;height:48vw}
  .wall{max-width:none}
  .ticket{position:relative;inset:auto;width:min(70%,280px);margin:28px auto 0}
  .ticket figcaption{display:block}
  .labgrid{grid-template-columns:minmax(0,1fr)}
  .labgrid .sheet{margin-top:0}
  .over{margin-top:0}
  .pharmacy .hero .art{min-height:0}
  .pharmacy .heroText{padding-bottom:28px}
  .phones .card{width:calc(50% - 10px)}
  .partgrid,.part.flip .partgrid{grid-template-columns:minmax(0,1fr)}
  .part.flip .partgrid .head{order:0}
  .part .card{margin-inline:auto}
  .words li{font-size:16px}
}

/* the phone chapter turns the other way: picture on the right, words and phones on the left */
.art.strip.right{left:auto;right:0}
.phone .head{margin-inline-start:auto}
.phones{justify-content:flex-end}
@media (max-width:899.98px){.phones{justify-content:flex-start}}

/* reception on wide windows: the display leaves the picture visible and overlaps only its inner edge */
@media (min-width:900px){.reception .wall{max-width:min(820px,62%)}.reception .art.strip{width:46%}}

/* ===== fix round after the lead's look at review\v2 ===== */
/* word lists: plain short lines, two columns on wide screens (no outlines, no chips) */
.words{display:block;columns:2;column-gap:40px;margin-top:24px;max-width:720px}
.words li{border:0;border-radius:0;padding:5px 0;font-size:18px;font-weight:500;break-inside:avoid}
.words li::before{content:"–";margin-inline-end:10px;font-weight:700}
/* the prescription: the walking paper as a block on the right, the number and the patient on the left */
.rx .art.block{position:absolute;top:0;right:0;width:46%;height:clamp(420px,44vw,640px)}
.rx .intro{width:52%;margin-inline-start:auto;min-height:calc(clamp(420px,44vw,640px) - clamp(48px,6vw,90px))}
.rx .rxno{font-size:clamp(40px,6vw,100px)}
/* lab: microscope strip on the right, words and the report on the left */
.lab .labgrid{grid-template-columns:minmax(0,560px);justify-content:end}
.lab .labgrid .sheet{margin-top:8px}
.lab .art.strip{width:44%}
.shotwrap{padding-bottom:clamp(56px,7vw,100px)}
.pharmacy .wrap:first-of-type{padding-top:clamp(56px,7vw,100px)}
.sync .hero .art{min-height:clamp(440px,46vw,660px)}
/* pricing: two by two until four fit comfortably */
.plans{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:1280px){.plans{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:899.98px){
  .words{columns:1}
  .rx .art.block{position:relative;width:auto;height:62vw}
  .rx .intro{width:auto;min-height:0}
  .rx .rxno{font-size:clamp(40px,11.4vw,60px)}
  .lab .labgrid{justify-content:stretch;grid-template-columns:minmax(0,1fr)}
  .plans{grid-template-columns:minmax(0,1fr)}
}
html{scroll-padding-top:var(--hdr)}

/* lab: the microscope as a block on the right, like the prescription's (they are not neighbours) */
.lab .art.block{position:absolute;top:0;right:0;width:46%;height:clamp(420px,44vw,640px)}
@media (max-width:899.98px){.lab .art.block{position:relative;width:auto;height:62vw}}
@media (max-width:899.98px){.art.corner{height:62vw}}
.plan .price{white-space:nowrap}.plan .price b{font-size:clamp(30px,2.6vw,40px)}

/* ===== review 2 round (desktop and content) ===== */
/* every chapter: one big picture beside the words, cropped by the window's edge; .flip puts the picture on the right */
.hero.flip{grid-template-columns:minmax(0,1fr) max(470px,44vw)}
.hero.flip .art{order:-1}
.hero .art{min-height:clamp(440px,46vw,680px)}
.hero .heroText{padding-block:clamp(48px,6vw,90px)}
.words{columns:1;max-width:560px}
/* the proof under each picture: real crops at their own size, never enlarged */
.proof{display:flex;flex-wrap:wrap;gap:28px;align-items:flex-start;padding-top:clamp(28px,3vw,44px);padding-bottom:clamp(56px,7vw,100px)}
.stage .card.big,.lay-shot .card.big{width:min(100%,var(--w))}
.stage{min-height:0;align-items:flex-start;padding-bottom:0;margin-bottom:clamp(48px,6vw,90px);overflow:hidden}
.answer{display:flex;gap:24px;align-items:flex-start;justify-content:center;flex-wrap:wrap;width:100%}
.answer .card{flex:0 1 auto}
/* reception: the display and the ticket side by side under the picture, nothing over the drawing */
.reception .wall{display:flex;gap:28px;align-items:flex-end;max-width:none;margin-top:0}
.reception .tv{flex:0 1 760px}
.reception .ticket{position:static;width:min(240px,26%);flex:none}
.reception .ticket figcaption{display:block}
/* the lab report as paper */
.lab .proof .sheet{width:min(100%,640px)}
/* the opened menu gets a lower edge */
@media (max-width:1099.98px){.top.open .nav{box-shadow:0 3px 0 rgba(0,0,0,.28)}}
/* the footer's name */
.end .endName{font-size:clamp(52px,7vw,110px)}
/* ===== phones, reworked by the lead after the owner's "on mobile it doesn't look good" (19 Nov) =====
   Pictures at close to their own 1000x900 shape so nothing that names the object is cut; calmer type; tighter rhythm;
   the opening's examples in one row that swipes sideways. Keep this block last. */
@media (max-width:899.98px){
  :root{--hdr:60px}
  body{font-size:16px;line-height:1.6}
  .mark small{display:none}
  .mark img{width:32px;height:32px}
  .menu{min-height:44px;padding:0 16px;font-size:15px}

  /* pictures: tall, nearly the drawing's own shape */
  .hero .art,.endart,.open .hero .art,.pagehero .hero .art,.art.strip,.art.corner,.art.band,
  .rx .art.block,.lab .art.block{height:min(90vw,58svh,560px)!important;min-height:0!important}
  .sync .hero .art{height:min(104vw,64svh,600px)!important}
  .art.band.low{margin-top:20px}

  /* type */
  .open h1{font-size:clamp(34px,9.8vw,52px)}
  .head h1,.head h2,.heroText h1,.heroText h2,.part .head h2{font-size:clamp(30px,8.6vw,44px);line-height:1.12}
  .head p,.heroText>p,.lead,.stop .sp{font-size:16px;margin-top:10px}
  .big{font-size:17px!important}
  .kicker{font-size:15px}
  .who{font-size:19px;margin-top:10px}
  .fhint{font-size:15px;margin-bottom:8px}
  .words{margin-top:14px;columns:1}
  .words li{font-size:15.5px;font-weight:400;padding:2px 0;line-height:1.5}
  .words li::before{font-weight:400;opacity:.7}
  .card figcaption,.tv figcaption,.ticket figcaption{font-size:14.5px;margin-top:10px;line-height:1.55}
  .stop .n{font-size:24px}.stop .n i{width:36px;height:36px;font-size:17px}
  .btn{min-height:48px;font-size:16px;padding:0 22px}

  /* rhythm: one spacing for every chapter, no dead bands */
  .hero .heroText{padding:22px var(--pad) 30px}
  .rx .wrap,.reception .wrap,.lay-shot .wrap,.phone .wrap,.part .wrap,.plansec .wrap,.labgrid{padding-block:24px 36px}
  .sync .wrap{padding-top:24px}
  .pharmacy .art + .wrap{padding-bottom:0}
  .pharmacy .shotwrap{padding-top:0}
  .pharmacy .heroText{padding-bottom:8px}
  .lay-shot .narrowOnly{margin-top:18px}
  .shotwrap,.over{padding-bottom:36px}
  .stage{padding-bottom:36px}
  .rxgrid{margin-top:22px;gap:22px}
  .stop{padding-bottom:28px}
  .stop .card{margin-top:14px}
  .wall{margin-top:22px}
  .lay-shot .card.big,.phones{margin-top:20px}
  .ticket{margin-top:20px;width:min(62%,240px)}

  /* the opening: the field, then one row of examples that swipes sideways */
  .field{margin-top:18px}
  .scan{height:58px;border-radius:16px;padding:0 16px;gap:10px}
  .scan svg{width:24px;height:24px}
  .scan input{font-size:22px}
  .picks{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;margin-inline:calc(var(--pad) * -1);padding-inline:var(--pad);scroll-padding-inline:var(--pad);scrollbar-width:none;gap:8px;margin-top:12px}
  .picks::-webkit-scrollbar{display:none}
  .picks button{flex:none;scroll-snap-align:start;white-space:nowrap;min-height:44px;font-size:15px;padding:4px 14px}
  .picks button span{font-size:14px}
  .auto{margin-top:10px;font-size:14px}

  /* the onboarding frame is a 1440-wide window: unreadable at phone width, and this page already looks like it */
  .first .card.big{display:none}

  /* phone screens: two side by side, edge to edge */
  .phones{gap:16px;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;margin-inline:calc(var(--pad) * -1);padding:8px var(--pad) 4px;scroll-padding-inline:var(--pad);scrollbar-width:none}
  .phones::-webkit-scrollbar{display:none}
  .phones .card{flex:none;width:min(68vw,300px);scroll-snap-align:start}
  .phonecard img{border-radius:18px;box-shadow:0 0 0 4px var(--card),0 0 0 6px var(--edge)}
  .phones .card figcaption{font-size:13.5px}

  /* footer */
  .endtext{padding:26px var(--pad) 36px}
  .endtext img{width:48px;height:48px;margin-bottom:8px}
  .end .endName{font-size:40px}
  .hero.flip{grid-template-columns:minmax(0,1fr)}
  .hero.flip .art{order:0}
  .reception .words,.lab .words,.pharmacy .words{display:none}
  .reception .wall{flex-direction:column;align-items:center}
  .reception .ticket{width:min(62%,240px)}
  .proof{padding-top:4px;padding-bottom:36px}
  .end p{font-size:16px}

  /* pricing and contact */
  .plan{padding:22px 20px;border-radius:18px}
  .plan h2{font-size:22px}
  .plan .price b{font-size:34px}
  .plan ul li{font-size:15px;padding:8px 0}
  .plans{gap:14px}
  .askline{font-size:16px;margin-top:24px!important}
  .cdl div{font-size:17px}
}
