/* CEFREF public guide — the same restrained blue field as the diary. */
body.guide-page{--cefref-blue:#365370;--cefref-cyan:#38b0cb;--onboarding-marker-clearance:20px;--onboarding-target-clearance:5px;background:var(--cefref-blue);color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow-x:clip}
:is(.guide-page,.projects-page) main a.context-link{color:#a9e9f2;text-decoration:underline;text-decoration-color:#38b0cb;text-decoration-thickness:1px;text-underline-offset:4px}
:is(.guide-page,.projects-page) main a.context-link:hover,:is(.guide-page,.projects-page) main a.context-link:focus-visible{color:#fff;text-decoration-color:#fff}
.guide-page .nav{background:#365370;border-bottom:1px solid #ffffff30;height:82px}
.guide-page .nav nav{font-size:15px;gap:23px}
.guide-page .nav .brand{font-size:29px}
.guide-page .button{background:#38b0cb;border-color:#38b0cb;color:#173445}
.guide-page .eyebrow,.guide-page .eyebrow.ink{color:#8cdeeb}
.guide-page .pagehero{min-height:0;padding:82px max(6vw,24px) 76px;background:#365370;border-bottom:1px solid #ffffff30}
.guide-page .pagehero .hero-inner{max-width:1320px;width:100%;margin:auto}
.guide-page .pagehero h1{font-size:clamp(48px,6vw,78px);max-width:820px;color:#fff}
.guide-page .pagehero p:not(.eyebrow){font-size:clamp(18px,1.8vw,22px);max-width:690px;color:#e0ebf0}
.guide-page .hero-note{display:block;margin-top:24px;color:#aadce7;font-size:14px}
.guide-page .guide-jump{display:flex;flex-wrap:wrap;gap:9px;padding:16px max(6vw,24px);background:#365370;border-bottom:1px solid #ffffff30}
.guide-page .guide-jump a{background:transparent;border:1px solid #83adbd;color:#fff;border-radius:5px;font-size:14px;font-weight:600;padding:9px 15px}
.guide-page .guide-jump a:hover,.guide-page .guide-jump a:focus-visible{border-color:#38b0cb;background:#ffffff13}
.guide-page .guide-intro{max-width:1320px;margin:auto;padding:82px 24px 18px;background:transparent}
.guide-page .guide-intro h2{font-size:clamp(37px,4.5vw,55px);margin:9px 0 17px;color:#fff}
.guide-page .guide-intro p:not(.eyebrow){color:#d3e3eb;font-size:19px;line-height:1.65;max-width:760px}
.guide-page .visual-sequence,.guide-page .visual-sequence:nth-of-type(even){background:#365370;border:0;padding:52px max(6vw,24px) 90px}
.guide-page .visual-sequence+.visual-sequence{border-top:1px solid #ffffff30}
.guide-page .sequence-inner{max-width:1320px;margin:auto}
.guide-page .sequence-copy{max-width:930px;margin:0 0 42px}
.guide-page .sequence-copy h2{font-size:clamp(34px,3.6vw,48px);line-height:1.14;color:#fff;margin:0 0 12px}
.guide-page .sequence-copy p{font-size:20px;line-height:1.65;color:#d3e3eb;margin:0}
.guide-page .sequence-grid{display:grid;grid-template-columns:minmax(0,540px);justify-content:center;gap:0 60px;max-width:1320px;margin-inline:auto}
.guide-page .guide-shot{margin:0;padding:0;border:0;background:none;border-radius:0;text-align:left;display:grid;grid-template-rows:subgrid;grid-row:span 3;align-content:start}
.guide-page .screen-label{max-width:360px;width:100%;margin:0 auto 24px;color:#fff;font-size:24px;font-weight:650;display:flex;gap:12px;align-items:baseline}
.guide-page .screen-label small{font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:#8cdeeb;font-weight:700}
.guide-page .shot-frame{position:relative;display:block;width:205px;max-width:calc(100% - 104px);margin:0 auto;overflow:visible;border:2px solid #38b0cb;border-radius:.85rem;background:#fff;box-shadow:0 .3rem 1rem rgb(13 42 64 / 35%)}
.guide-page .shot-frame img{display:block;width:100%;height:auto;max-width:none;border-radius:calc(.85rem - 2px)}
:is(.guide-page,.projects-page) .annotation{position:absolute;top:var(--y);left:0;width:100%;height:0;z-index:2;pointer-events:none}
:is(.guide-page,.projects-page) .annotation-pin{position:absolute;top:0;display:grid;place-items:center;width:1.875rem;height:1.875rem;box-sizing:border-box;border:.16rem solid #38b0cb;border-radius:50%;color:#fff;background:rgb(54 83 112 / 92%);box-shadow:0 .1rem .35rem rgb(13 42 64 / 45%);font-size:clamp(.85rem,3.8vw,1.05rem);font-weight:700;line-height:1;transform:translateY(-50%)}
:is(.guide-page,.projects-page) .annotation.left .annotation-pin{left:calc(-1.875rem - var(--onboarding-marker-clearance))}
:is(.guide-page,.projects-page) .annotation.right .annotation-pin{right:calc(-1.875rem - var(--onboarding-marker-clearance))}
:is(.guide-page,.projects-page) .annotation::before{content:"";position:absolute;top:-.0625rem;height:.125rem;background:#38b0cb}
:is(.guide-page,.projects-page) .annotation::after{content:"";position:absolute;top:-.19rem;width:.38rem;height:.38rem;border-radius:50%;background:#38b0cb}
:is(.guide-page,.projects-page) .annotation.left::before{left:calc(-1 * var(--onboarding-marker-clearance));width:calc(var(--target) + var(--onboarding-marker-clearance) - var(--onboarding-target-clearance) - .38rem)}
:is(.guide-page,.projects-page) .annotation.left::after{left:calc(var(--target) - var(--onboarding-target-clearance) - .38rem)}
:is(.guide-page,.projects-page) .annotation.right::before{right:calc(-1 * var(--onboarding-marker-clearance));width:calc(100% - var(--target) + var(--onboarding-marker-clearance) - var(--onboarding-target-clearance) - .38rem)}
:is(.guide-page,.projects-page) .annotation.right::after{right:calc(100% - var(--target) - var(--onboarding-target-clearance) - .38rem)}
.guide-page .guide-shot figcaption{max-width:320px;margin:0 auto;color:#fff}
:is(.guide-page,.projects-page) .explain{list-style:none;padding:0;margin:30px 0 0;display:grid;gap:18px}
:is(.guide-page,.projects-page) .explain li{display:grid;grid-template-columns:32px minmax(0,1fr);gap:14px;align-items:start;color:#e1ebf0;font-size:20px;line-height:1.55}
:is(.guide-page,.projects-page) .explain .num{display:grid;place-items:center;width:30px;height:30px;border:2px solid #38b0cb;border-radius:50%;color:#fff;font-size:15px;font-weight:700;line-height:1}
:is(.guide-page,.projects-page) .explain strong{color:#fff;font-weight:700}
.guide-page .help-detail{max-width:720px;margin:34px auto 0;padding-top:22px;border-top:1px solid #ffffff30;color:#d8e8ee;font-size:18px;line-height:1.65}
.guide-page .help-detail h3{font-size:21px;color:#fff;margin:0 0 10px}
.guide-page .help-detail p{margin:8px 0}
.guide-page .help-detail ul{padding-left:23px;margin:10px 0}
.guide-page .help-detail li{margin:5px 0}
.guide-page .guide-callout,.guide-page .guide-safety{background:#365370;border-top:1px solid #ffffff30;padding:65px max(6vw,24px)}
.guide-page .guide-callout h2,.guide-page .guide-safety h2{color:#fff}
.guide-page .guide-callout p,.guide-page .guide-safety p{color:#d3e3eb;font-size:18px;max-width:790px}
.guide-page .guide-callout .more{color:#a3e5ed;font-size:18px}
.getting-started-page .home-screen-note{margin:32px 0 0}
.guide-page .guide-safety{padding-top:45px;padding-bottom:45px}
.guide-page .cta{background:#365370;border-top:1px solid #ffffff30}
.guide-page .cta p{color:#d3e3eb}
.guide-page footer{background:#365370;border-top:1px solid #ffffff30}
.guide-page .guide-intro,.guide-page .visual-sequence,.guide-page .guide-callout{scroll-margin-top:90px}
.guide-page .guide-shot figcaption{width:100%;padding-bottom:55px}
.guide-page .guide-shot .plain-explain{padding-top:30px;font-size:20px;line-height:1.55;color:#e1ebf0}
.guide-page .equal-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px;max-width:1320px;margin-inline:auto;align-items:stretch}
.guide-page .save-note-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:36px;max-width:1320px;margin-inline:auto;align-items:start}
.guide-page .save-note-grid .guide-shot{min-width:0}
.guide-page .save-note-grid .guide-shot[id]{scroll-margin-top:110px}
.guide-page .diary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:36px;max-width:1320px;margin-inline:auto;align-items:start}
.guide-page .diary-grid .guide-shot{min-width:0}
.getting-started-page .screen-label small,.recording-diary-page .screen-label small{white-space:nowrap;flex:none}
.getting-started-page .equal-guide-card p{font-size:20px}
.getting-started-page .explain .num,.recording-diary-page .explain .num{border-color:#fff;color:#fff;background:transparent}
.recording-diary-page #record-headache .sequence-grid > .guide-shot:first-child figcaption{max-width:400px}
.getting-started-page #project .sequence-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-width:1320px;gap:36px}
.getting-started-page #project .project-more{margin:12px 0 0;font-size:17px}
.projects-page{--onboarding-marker-clearance:20px;--onboarding-target-clearance:5px;--project-gutter:max(10vw,28px);--project-space:clamp(64px,6vw,80px)}
.projects-page .pagehero,
.projects-page .guide-intro,
.projects-page .project-grid,
.projects-page .guide-callout,
.projects-page .cta{max-width:none;padding-inline:var(--project-gutter)}
.projects-page .pagehero,
.projects-page .project-recording,
.projects-page .guide-callout,
.projects-page .cta{padding-block:var(--project-space)}
.projects-page .project-join-grid{padding-top:0;padding-bottom:var(--project-space)}
.projects-page .project-join-grid,
.projects-page .project-recording,
.projects-page .guide-callout{border-bottom:1px solid rgba(187,212,225,.24)}
.projects-page .pagehero{min-height:0;padding-bottom:30px;border-bottom:0;background:#35536f}
.projects-page .cta{border-top:0;text-align:left}
.projects-page .cta .button{margin-top:0}
.projects-page .pagehero h1,
.projects-page .guide-intro h2,
.projects-page .guide-callout h2,
.projects-page .cta h2{font-size:clamp(34px,4.5vw,58px);font-weight:500;line-height:1.13;letter-spacing:-.045em;max-width:760px;margin:10px 0 20px;text-align:left}
.projects-page .pagehero > p:not(.eyebrow),
.projects-page .guide-intro > p:not(.eyebrow),
.projects-page .project-grid article > p,
.projects-page .guide-callout > p,
.projects-page .cta > p{font-size:18px;line-height:1.7;max-width:700px;margin:0 0 18px;color:var(--muted);text-align:left}
.projects-page .pagehero > p:last-child,
.projects-page .guide-intro > p:last-child,
.projects-page .guide-callout > p:last-child{margin-bottom:0}
.projects-page .project-followup-grid{grid-template-columns:1fr}
.projects-page .project-followup-grid p{max-width:780px}
.projects-page .project-join-grid .project-shot .shot-frame{overflow:visible}
.projects-page .project-join-grid .project-shot figcaption{max-width:320px;width:100%;margin:0 auto;color:#fff;text-align:left}
.projects-page .project-join-steps{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px;padding-top:18px}
.projects-page .project-join-steps .project-shot{margin:0;padding:0}
.projects-page .project-join-steps .project-step-label{max-width:320px;min-height:2.5em;margin:0 auto 18px;color:#fff;font-size:22px;font-weight:600;line-height:1.25}
.projects-page .explain .num{border-color:#fff;color:#fff;background:transparent}
.guide-page .analysis-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:60px;max-width:1120px}
.guide-page .equal-guide-card{display:grid;grid-template-rows:auto auto 1fr;align-content:start;min-width:0}
.guide-page .equal-guide-card h3{color:#fff;font-size:24px;font-weight:650;line-height:1.25;margin:0 0 24px}
.guide-page .equal-guide-card .shot-frame{max-width:205px}
.guide-page .equal-guide-card p{color:#e1ebf0;font-size:18px;line-height:1.55;margin:24px 0 0}
.guide-page .equal-guide-card[id]{scroll-margin-top:110px}
.guide-page .guide-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.guide-page .guide-links a,.guide-page .guide-index a{border:1px solid #83adbd;border-radius:5px;padding:14px 18px;color:#fff;font-weight:600}
.guide-page .guide-links a:hover,.guide-page .guide-index a:hover{border-color:#38b0cb;background:#ffffff13}
.guide-page .guide-index{max-width:1320px;margin:0 auto;padding:70px 24px 100px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.guide-page .guide-index a{display:block;padding:28px;font-size:22px}
.guide-page .guide-index span{display:block;color:#d3e3eb;font-size:16px;font-weight:400;line-height:1.55;margin-top:10px}
.mobile-menu[open] nav{max-height:calc(100dvh - 82px);overflow-y:auto}
@media(min-width:740px){
 .guide-page .sequence-grid:has(> .guide-shot:nth-child(2)){grid-template-columns:repeat(2,minmax(0,1fr));max-width:1120px}
 .guide-page .sequence-grid:has(> .guide-shot:nth-child(3)):not(:has(> .guide-shot:nth-child(4))) > .guide-shot:last-child{grid-column:1/-1;justify-self:center;width:min(530px,100%)}
}
@media(min-width:1320px){
 .guide-page .sequence-grid:has(> .guide-shot:nth-child(3)):not(:has(> .guide-shot:nth-child(4))){grid-template-columns:repeat(3,minmax(0,1fr));column-gap:36px;max-width:1320px}
 .guide-page .sequence-grid:has(> .guide-shot:nth-child(3)):not(:has(> .guide-shot:nth-child(4))) > .guide-shot:last-child{grid-column:auto;width:auto}
}
@media(max-width:1319px){
  .getting-started-page #project .sequence-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:1120px}
}
@media(max-width:1100px){
  .projects-page .project-join-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .projects-page .project-join-steps .project-shot:last-child{grid-column:1/-1;justify-self:center;width:min(360px,100%)}
}
@media(max-width:820px){
 .guide-page .nav{height:66px;gap:12px;padding-inline:18px}
 .guide-page .nav .brand{font-size:25px}
 .guide-page .pagehero{padding:62px 24px}
 .guide-page .guide-intro{padding:65px 24px 5px}
 .guide-page .visual-sequence,.guide-page .visual-sequence:nth-of-type(even){padding:48px 24px 76px}
}
@media(max-width:900px){
  .getting-started-page #project .sequence-grid{grid-template-columns:minmax(0,540px);justify-content:center}
  .guide-page .equal-guide-grid{grid-template-columns:minmax(0,540px);justify-content:center;gap:56px}
  .guide-page .save-note-grid{grid-template-columns:minmax(0,540px);justify-content:center;row-gap:24px}
  .guide-page .diary-grid{grid-template-columns:minmax(0,540px);justify-content:center;row-gap:24px}
}
@media(max-width:750px){
  .projects-page .project-join-steps{grid-template-columns:minmax(0,1fr)}
  .projects-page .project-join-steps .project-shot:last-child{grid-column:auto;justify-self:stretch;width:auto}
}
@media(max-width:520px){
 .guide-page .pagehero{padding:52px 20px 56px}
 .guide-page .pagehero h1{font-size:clamp(43px,11vw,59px)}
 .guide-page .guide-jump{padding:13px 16px;gap:7px}
 .guide-page .guide-jump a{font-size:12px;padding:8px 10px}
 .guide-page .guide-intro{padding:55px 20px 0}
 .guide-page .visual-sequence,.guide-page .visual-sequence:nth-of-type(even){padding:42px 8px 66px}
 .guide-page .sequence-copy,.guide-page .guide-shot figcaption{padding-inline:8px}
 .guide-page .sequence-copy{margin-bottom:29px}
 .guide-page .sequence-copy p,.guide-page .help-detail,.guide-page .explain li{font-size:16px}
 .guide-page .screen-label{font-size:18px;margin-bottom:18px}
  .guide-page .equal-guide-card h3{font-size:21px;margin-bottom:18px}
  .guide-page .equal-guide-card p{font-size:16px;margin-top:20px}
 .guide-page .explain{margin-top:27px}
 .guide-page .guide-shot .plain-explain{font-size:16px}
  .getting-started-page .equal-guide-card p{font-size:16px}
 .guide-page .guide-callout,.guide-page .guide-safety{padding-inline:20px}
 .guide-page .guide-index{grid-template-columns:1fr;padding:40px 20px 70px}
}